Add gui.EventManager.destroy()