Added AllFrameReady handler.