Write thread safety for Overlays QMaps

Might also be a good idea to do a read lock for some of the other overlays functions