add another failsafe check
fix automatic event end for dev events
add information necessary for time-to-end calculation by the client