Added clear button.  Removed unnecessary event definitions.