fix percentage display at statistics, add colored logging for error levels