Removed use of QtGui.qApp