changes to utils, added qt_debug_test as an alternative debugging tool