change t to T in waitTasks()
make the library checker happy
update documentation
add a wrapper for the obsolete optional parameter ncores