opens a win32 window -ish
window now opens with a main event loop. Also tried to avoid global state, which is hard with the default win32 api