rename ctask to _current_task.
get rid of _taskcount.