color coded top bar ported from bfgminer