Changed the way that errors and notes are printed.