Made large modifications to getMyTasksAndPendingOffers() to return additional information when a job is in progress. Also modified cancel task