fix bugs regarding event adding and removing... including bugs associated with initial empty event structure.