added callback support for not ready event

usefull for stuff lile a progress bar
updated build