Tons of bug fixes in SegmentManager and Slotted Pages