Cleans up some holes in task priority and resource setting