marathon debugging, reference notes:
* $row.find(".events") does NOT return chronological order of events, list_events() handles this inefficiently
* initial add event implementation was broken for segment events count > 4
* all areas requiring code factoring highlighted (and then some!)