quick changes to color checking algorythm and mstat and rstat to show color