Added url checking to pagecapture.
Merge.