improved GUI components, added click handler functionality for button