Added debugging code
Added color changing detection