Merge pull request #67 from captdeaf/master

Move nsql publishing to its own thread.