Fixed a bunch of UI papercuts.