A (rather coarse) first pass at the UI