Add 6d facedir rotation prediction routine
Fix orient_flags to be optional.
Don't assert scalars must be vectors.
Pass a errfunc to lua_pcall to get a traceback
Fix order of pushing the error handler
Add more errfuncs and remove the stack argument from LuaError
Add a errfunc to script_run_callbacks
Clean up the stack when calling ABMs
Use lua_getglobal
Pop/remove error handlers(and a few other things)
Another error handler removal
Tweak getItemCallback(and maybe fix a bug)