Implemented 1 level undo, implement segment merge.
Much improved reindex support