Checkbox Functionality

Added Checkbox functionality such as select all and other
behind-the-scene things. This should make it easy to retrieve what the
user selected.