Thank you If you have any ideas, I am still open for it. What is necessary to do to stabilize PSPad is leave MDI scheme and go to way with dockable forms. MDI implementation is very buggy and I have to workaround lot of things. But it means overwrite lot of code :-(
-- <https://forum.pspad.com/read.php?2,78028,78030> PSPad freeware editor https://www.pspad.com