Merge back the significant Warp3D cache improvements to make it significantly faster for updating the map (and for it to use a lot less memory/CPU).