use progress bar vars instead of global color vars
Merge pull request #1756 from elidupuis/progress-bar-variables

use progress bar vars instead of global color vars