Re-add id to object_segment.

Not sure why I removed it.
Improve slot range display; add slot add button