add a click handler to the widgets and make our UI buttons actually trigger something
This makes it possible to actually set a callback for when a widget is clicked. The new buttons are put to good use and can now be used to set the game modes, instead of the user having press F1, F2 and F3 respectively, but the hotkeys for this were also left in place.