added sets to track active id numbers for tasks and items, also added delete buttons for events in userhome.tpl