fully implemented (but haven't tested) what I had for the LuaState class (but still need to write code to return return values)