seperating QT stuff from consolemode