Schedulefix

Introduce 2nd rbtree to hold tasks by name.Trees share tasks.
new_node is set twice