remove separate threading as it caused problems with icons in gtk