[t3209] Refactor generateSafeTrackEvent to accept a popcorn options object vs only start/end