remove the ugly texture metatable stuff and make it faster