Show the main window before calling afterStartup to make sure the pro settings import dialog position doesn't go off the screen
Merge branch 'next' into release-4.6.2