Merge pull request #66 from captdeaf/master

Make px, py actual player positions
Move nsql publishing to its own thread.

Publishing was hanging the main lua update thread.