Only collect the errors and warnings during a compile, output them in a batch at the end.
Optimise message sending.