fix #564, fix #652 - improve handling of mouse-driven selections

- Clicking in visual mode/normal leaves user in normal mode.
- Shift-clicking enters visual mode.
- In both cases, xpos is updated.