Controller cleanup
This starts cleaning up the application controller: Rename it to match the naming convention, convert to use RAII, move some main-window specific code into MainWindow.
This starts cleaning up the application controller: Rename it to match the naming convention, convert to use RAII, move some main-window specific code into MainWindow.