Fixed bug where previous lookups are wrongly canceled when a query starts near the end of Revelation.

E.g., looking up Revelation 22:21 will get stuck and not look up previous verses.
Minor code and documentation cleanup.