Clearing the selection doesn't work yet (something else has to be done to see the result of it), but the highlight function does work for the original use.
clearing the selection now works, also clear the last rectangle (which probably needs to happen in a few other situations also).  Next add subtract of features from selection.
Progress towards block subtraction