Attempt to move QApplication execution into petaloid UI.