Make settings thread safe.
Merge remote-tracking branch 'gitextensions/master' into BuildServerIntegration