fixed segfault, ui was being modified from thread