more win32 fixes, added additional outputs to system_snapshot, debuglevel inconsistency fix