Opens the main window for the simulation