Lets wait before using lua threads.

They should most likely only be used when a single script runs, for
example onLogin.
Merge upstream/master & conflict fix.
Small fix
Lua cleanup

getField* -> popField*
Npc metatable functions
Small fix
Linker fix
Merge pull request #45 from dalkon/master

Lua fixes