Improved the way the button class calls its click functions. The button names are now tied to the names of the functions they call when clicked.