Fixing issues with copy / paste pipelines
This feature was missbehaving on sources. You could not copy or paste them. Some Qt signaling also needed rework so the state of copy / paste updates in due time.
Finally, since the clipboard is stored in a static variable, mutexes are introduced to synchronize editing and reading
Fixes #21839 (closed)