adding closure
git ignore
moving checkboxes and selects implementations to closures
lots of improvements and some cleanup
fixing merge conflicts