adding comment along to the LuaRef function caller

along with stack dumping in case of errors, although it doesn't seem to
show up in the log?