Worked on display of errors.