Fixed crash in ClosureEvents

it was possible that the trigger got destroyed while the trigger
condition was still running. This caused a crash. 
My solution is to delay the destroy by 0 seconds using a new library.