Add more errfuncs and remove the stack argument from LuaError