Fixed a potential live-lock situation: Signals from the QThread can get lost, before...