Show the main window before calling afterStartup to make sure the pro settings import dialog position doesn't go off the screen