Switching over from QProgressDialog based IO to QThreadPool based IO