Removing TrailPointer allocations from Scene.affectedLayers, adding TrailPointer.nestedCompare as a static function. see #110