Fix bug with click-to-select.
Final cleanup of some leftover old selection system code.
Merge branch '0.10.x'