Make bss_log.c a bit more readable, and implement it for VMS as well.