Code refactoring: merged GameGrid into MainWindow