~debug with image caching for background layer.