No problem. I figured it would be best to start you at the lowest level of the library code. If you look at the source, you should be able to find a function you can modify so you can put a hook in to check and break if not ready, rather than wait.
edit: I'd be interested in seeing that when you finish it.