Perfected recursive page crawl. Used the dark magic of global variables to achieve results :O