ini_io fixes, added vsync, style changes

and put windows.h into the precompiled header