Converting logging to ASCII and other Windows fixes.