Lua cleanup

getField* -> popField*
Npc metatable functions