Added support for Checkboxes and radio boxes

It isn't the prettiest thing, but it is working well enough for my needs, and I thought I'd share.