Removes empty lines. Doesn't display all errors if > 1.
Fixed extra lines.