Fixed display_button_clicked
Completed main function set. Improvements left to do.