Moved all ensemble delegate callbacks for merging to the same background thread. This makes it possible to lock the context during merging if necessary.