chg: update tasks.lib

Improve handling of internal data structures, especially intvecs.
Merge pull request #482 from steenpass/tasks

chg: update tasks.lib