Replace hashtable with std::map
Move valptridx operator- into DEFINE_VALPTRIDX_SUBTYPE
Disable moving Viewer to slide object

Moving the Viewer changes the membership of segments, which would lead
to dangling and invalid indexes.