fix for qt app singleton

whew!