Remove event handlers on destroyApps (closes #1)