Fixed most of functions in taskLib, next for the two big ones:
    taskDestroy() and taskRestart()