ditch qstatusbar, use qtoolbar inside mainwindow instead