Simplify.

ccol1 already accounts for Color_cursor if it is set.
Honour cursorColor also when the cursor style is underline.
Cleanup the code to save the current cursor coordinates when needed.
Add support for the set cursor style (DECSCUSR) control function.
if it breaks, the pieces will be sharp
Simplify.
Fix typo.
Simplify.
Use meaningful names for variables.
Fix bug in core double-click word selection.

selection_delimit_word does not account for (left) delimiters with width > 1.
In such a case, it sets the starting position of the selection to the
second column of the delimiter (thereby including the delimiter in the
selection) rather than to the first column of the character next to it.
This bug was masked before by 'selection_make' but a recent fix to the
selection code revealed it.