The actual wiring up of events and clearing out of old, unused elements is not complete yet, so this is completely non-functional at present.
Also had to put mainwindow into it's own header for this to work. Full conversion of mainwindow will ultimately follow.