Fixed the check boxes

Clicking on them didn't do anything.  Now it does.  Also cleaned up some whitespace.