Wired up some of the UI.