Added colorization for more error conditions.