Added appropriate mutex locks and updated qt code to use Qt:QueuedConnection.
Attach a file by drag & drop or click to upload