Indicate when ImgCache is ready

I propose a patch to know whether is ImgCache ready. 

Also, there is possibility to wait for `ImgCacheReady` event.