fixed nefarious color labelling problem, also for hue wrap cases. thresholds calculated around wrap point seem wrong