Add support for using within a worker thread
Merge pull request #31 from dariusriggins/master

Add support for using within a worker thread