implemented the sorting of events in the LP event arrays
Cleanup progress messages and update code to use range/lengths of LP event arrays.