Attempt to fix race condition in LocalProcess

Apply careful use of QMutex to prevent multiple threads from accessing
the private data of LocalProcess.
Merge remote-tracking branch 'remotes/origin/develop' into FixLocalProcessRace
Remove mutexes from QProcess callbacks
Merge branch 'FixLocalProcessRace' into develop