Add a bunch of commands, refactor index and descriptor file opening, add
pivot selectors, add surrogate space search, etc.