Generate mipmaps for avatar textures, fix shadows (don't render display names into the shadow map).