rewrote event-list to track time in beats rather than sample time: works better for dynamic tempo changes
fixed import