Added code to ignore multiple duplicate selection change events.
Maybe there's a better way to do this but this will work for now.
Also added text coloring to the errors that simply switch on and
off every time a selection is changed.