memobj serialization complete, added copy and assignment constructors for memobj+segmentHeader classes, plus deinit functions for tidiness