Make new logging stuff work on windows; fix a couple of windows typos.