Fix overzealous entering of folded spans in coordsChar
Overhaul selection drawing algorithm again

To better deal with drawing selections around replacedWith widgets.
Fix bug in drawing of nested collapsed spans