fixed some threading bugs caused by changes in DUI, DScreen