We should now be able to convert back and forth between UTF16 offsets (as the Mac UI uses them) and UTF8 offsets (as Stacksmith uses them internally).