Clean unneeded textures and variables