Fixes for core tests.
Parentage maps now store children as well, for use by visualization.
Visualization rebuilt around the new parent-map system.