Corrected handling of new-lines in fossil output on OSX.
The update command now logs only the actual update output from fossil.
The log cursor is now repositioned to the end before any text is appended.
Fixed minor static analysis warnings.
FossilOrigin-Name: 4db466899df13050ac14c60097286f1df3adc46f