Correct check box and radio button implementations; fixes #216
Merge pull request #227 from ArloL/checkbox-fix

Correct check box and radio button implementations; fixes #216