The code behind the UI

The UI is being made by Mazz, who is seated next to me. Let's see if
these line up.