For colors to work

First - thanks for a great module. I couldn't get colors to work so I debugged a bit and as far as I understood the code, this is what I had to changed, as we didn't respect the output of formatError. If I've misunderstood something I'd be grateful for any tips/hints.

Thanks