fixed the 3 tries system for imgprocessing. don't know what i was thinking before. bear in mind a previous patch might have broken stuff that still aren't fixed