marking ending tasks when switching contexts (and right after app
starts). fixes #74
Merge branch 'master' of https://github.com/middleofdreams/workload