Changed gui delegate to use thread safe queue event 

instead of add pending event