Fixed misc UI bugs.