Updated loadIcon to return null for more reasonable usage