changed from MainWIndow templated layout to using an AppController instead