Updating debugging test
Boundary hasPrevious/hasNext switched to self trail instead of layer type, since we were using switchToLayer at the exit().
Improving layering unit test, since it spit out megabytes of info on test failures
Trail.compare note
layerLookup changed to use selfTrail comparison