Just return when nothing else to do
Use <all_urls> instead of protocol match patterns
Use a more descriptive warning message
Simplify code to determine size of the final pixbuf
Split set_icon_for_url_wrapper into smaller parts
Remove leftover variable