Did a bunch of stuff in UI.