(GUI) Read file char by char to avoid EOL format issues.
(GUI) Detect and change references to "oldName.pi" in a renamed diagram.
(GUI) Apply rename refactoring on copy.
(GUI) Factorize code for text change.
(GUI) Copy participants for diagrams.