several tweaks to gfilter.R

Add Invert selection button to ChoiceItem and several minor tweaks (see commits). Let me know if there are issues with the code. 

Thanks!