made previous commits compile with 5.2 and 5.0; added luaL_tolstring