Swap logic checking it primary window was created successfully
Render to texture instead of directly to screen

for later fake-fullscreen scaling.
Hide mouse and make window resizable
Enable scaled fullscreen switching at desktop resolution
Reenable and (partially) handle resizing the window.