ProcessTree: refreshUI call is na thread safe. Resolves gui exceptions.