Dump statistics when debug mode is set
don't call docolor() function recursively
in debug mode, do not enable autocommands
also print aggregated duration