Make singleton thread-safe 

Update using the thread-safe Singleton pattern from 

http://blog.rubymotion.com/post/31917526853/rubymotion-gets-ios-6-iphone-5-debugger