Store a link back to the triggering event.

This should fix #18