Some fixes for Windows compatiblity
Fixed logger string formatting