corrected taskid mistakes
some code cleaning, corrected size of image mapping