Remove unused code.
Fix event timing.

Trigger the new/udpate incidents AFTER updating the incident list.