Added loadContent event and fix timing of loadFinished.