Fix Content-Length calculation.
Don't make error stack traces red.