Fixing minor errors in UI code.