Added utility testAndClearSelection() for determining when to clear.
Don't defensively clear _active.back().cont anymore.
Sprinkle a little UNLIKELY()/LIKELY().
Handle corner cases in tty.cxx.
Minor flow-control cleanup.
Use cursor style when clearing.

Thanks to Victor Mierla for his bug report.
Suppress uninteresting WARNINGs.