Adds synchronization on getMap. Will probably cause performance
problems...
Merge pull request #44 from agueganno/sync

Adds synchronization on getMap. Will probably cause performance