Consolidated a few color codes.
Added a transition when dot color changes.