Added functionality for creating a Game window