added lua_stack, this will replace some stuff, fixed some typos