Moved GameWindow code where it belongs