massively cleaned up logging on windows... unicode (appears to) work!!