Got the main window and game loop set up