More efficient incremental task scheduling.
Merge branch 'master' into java-task-lib