fix yank
fix canceling i-search and losing the cursor
fix losing the cursor if kill at end of buffer