Bug fix attempt to handle green correctly

but it still doesn't handle other than built-in colors, so I left the
changes (e.g. new "isMatch" selector) but made it non-functional.
Reverted most of the Green bug fixes