Added a bunch of preliminary UI work.