More thorough cleanup of textures.