Simplify some brush stuff.

There were some no op functions in the brush code. I've removed them and will
add them back once they are actually used. In addidition I change the name of
the attribute we add from checked to selected as these are not check boxes.
Update lib