Updated hardcoded lua version to 5.2, removed debug from lua_api