lazily initalize TLS block on first access
Merge pull request #458 from dawgfoto/lazyTLS

lazily initalize TLS block on first access