dependency in mainMenuWindow constructor removed