Qual: getEvent() may not return a value
Add resources to taks events
Make add trigger pass an ID
Merge branch 'triggers' into qe