fix up Windows window/cursor handling so that it's up-to-date and more compatible
make sure that we handle background clearing ourselves, fixes several little issues
fix popup warnings to work a bit better and not screw up the game so much or make it difficult to interact with them