Add some debugging code to help trace out a bug where the number of id<MITMapRoute>and MGSRouteLayer objects become out of sync.