> loadDefaultIcon here ?

better loadCachedIcon (best renderer icon in the past or default there is not good old icon)

> after this, we can safely say that loadImageData will be always called with a blob, and therefore we can clean this function

yep