Creation of MainWindow and MainMenu
Correcting conflict