Fixes to QT controller.