Updated version of color sampler. Working well now.