Removed potentially dangerous operation
Some cleanup
Helper for setting metatables for userdata
A small helper to GC ordinary Lua tables for 5.1 and LuaJIT