[Issue #91] Fix the "no mark" error. Rewritten `sp-select-next-thing`, the selection code is refactored out.