Fixed error if GUI element is destroyed by any of it's handlers during the event dispatch loop.
Fixed error if GUI element is destroyed by any of it's handlers during the event dispatch loop.

Afforess/Factorio-Stdlib