Started the main window