heaps of textures fixes