Got a working implementation of mosaic rendering with a workable memory footprint, aggressively managed.