updated definition of task

added a few more lines to definition of task, found some more spelling
mistakes