Print error if delaying a task with 0 dependencies.
Fix several bugs with higher order tasks.