I'm still hunting down the Observer-Null error, but higher forces need to get involved on this one.
Turning wrapX and wrapY off, the cell boundary display error is gone.

Turning wrapX on, the cells display properly but the small map drops the right edge.

Turning wrapY on, the cells get truncated and the small image drops the bottom edge.

The game provides 'island groups' in the polygons.txt display but was never tested for map border-crossings, wherein a territory can exist on opposite sides of the map and a single territory can exist at all four corners. It looks like a bounding-box oversight. For complete wrapXandY this needs to be addressed on the engine side.