removed app.exec_() in light of handlers being QDialog instead of QWidget()