Cache textures

Drop from a 1.3 GB mem footprint down to a 300 mb