Extracted nextURI logic into a separate function so that it could be called from initialize.
Extracted nextURI logic into a separate function so that it could be called from initialize.

diegonetto/gsearch-parser