subclassed qthread working in main gui todo test under windows