From Eldskegg: Some threading and gui update