Refactor|BspLeaf|Segment|BiasTracker: Various cleanup refactorings