Added setting of Windows DPI-aware flag.
No swap interval on composition.
Assume malloc works.
Implemented hidden cursor on Windows.