[New] added the missing SyncExec class

This class helps to performy synchronized tasks on the UI thread from a
different thread