small change in dispatchTask method
methods getJobs and stopTask modified, fixed tabulations