Diagnosis in the User Interface