Modified Select/Unselect All checkbox to work in three states and respond to the selecting and unselecting of the individual checkboxes.