introduce newstruct 'task'
change semaphore.lib to tasks.lib in references