Icon setting catch block now catches a generic exception to fix #120.