Minor refactoring
correction of a subtle bug, which might sometimes cause crashes.
The QThread object was deleted on the outputReady signal, but
there may be times where the QThread is not finished by then.
reverting the cursor position change implementation
On loading of the formatted source, the scroll bar is adjusted accordingly.