Removed useless constructor debug logging
Enabled timing measurement and call depth debug logging
Ensured that singletons are thread-safe
Merge pull request #1 from PedroLamas/master

Debug info changes & thread-safe singletons