- Maked thread safe the singleton

Just an attempt to make the singleton thread safe using GCD.