pull systray out of MainWindow to Main. add state change listener to systray