Cleaning up the error handling in the image completion callbacks. Removing the legacy cache block and adding retries to image fetching.