enhanced has_changed func with rgb mean computation
improved output handlers logging