Added GameWindow.state to constructor