Split main window UI code
The code for the main window and the code for the application are all merged into the TotemObject
. This causes problems to take advantage of libhandy, libadwaita and GTK code that expects those to be separate to make it possible to automatically load resources, respect desktop-wide preferences, etc.