fixed bug where ui update was called on non-main thread
fixed bug where ui update was called on non-main thread

mlilback/rc2SwiftClient,mlilback/rc2SwiftClient,mlilback/rc2SwiftClient,mlilback/rc2SwiftClient,mlilback/rc2SwiftClient,mlilback/rc2SwiftClient