[WIP] I at overhaul MK II

This implements BevapDin's suggestion of a wrapper class that allows callers to modify items on the map easily without exposing direct access to the underlying container.
Active item count is a per-submap setting. There might still be active items on other parts of that submap.