Fix incorrect usage of deleteLater
Cleanup for use with unit test

Splash screen is optional. Also remove some unused class definition.
Fix typo
Fix bug with base mode
A new MainWindow unit test
Restructured for unit testing
Merge pull request #1030 from DonLakeFlyer/MainWindowTest

Simple MainWindow Unit Test