Fixed a bunch of UI issues.