more solid checking of page state, in particulaer when onLoadFinished cb fires multiple times. Stats at the end.