1. regrouped the paramaters; 2. added option to set event text color; 3.
added option to override the event text color and use high contrast
algorithm; 4. Other minor clean up in the XML file.