Catch URLError when trying to download the show icon.
Reformatted code and applied pep8 guidelines
Repaired testsuite
Reformatted code and applied pep8 guidelines