began work on QThread conversion but class