Fixed icon loading
Removed what I assume is debug code