Added code to delete obsolete events.
Merge pull request #9 from frmwrk123/fix/recentActivity

Fixes #4.