Fixed threading for icon loading