Minor changes to LuaManager & TextureManager