Added output for errors

Previous version either outputs everything or outputs nothing. Also can get confusing what's being linted and what's being cached.

This fork always outputs errors to stdout and optionally outputs everything as usual with the stdout flag.