WIP: a bunch of debugging messages.  Need to do some refactors to finish splitting
Slightly awkward deduplication of splitSlice branches