The main window now shows instantly