Improved startup

This moves the loading of configuration data (and thus saved locations) into a delayed function so the application startup time is faster. Also, this allows the main window to open behind the first-run wizard.