Improvements for #213: "last selection" begin / end marks were wrong.

Normal selection had a off-by-one error.

Visual line selection would fail to jump to line begin or end. Fixed
edge cases.