renamed Form1 to MainWindow