Grab favicon url from page and fix some bugs