Fixed several UI issues.