completed work on allowing events to be color coded.