Remove most of debug output, to be windows-compatible