Change the way callback context is stored and scheduled jobs are cleared (closes #7)