set up the game window, making threads an all dat