UI mainWindow is now a completely ordinary window.
The Window class itself now takes care of reading input.
The MainWindow class is no longer a UserInterface.Element