Added function to clear all event sources (and data)