Script config window trashed if script changed at same time

I noticed, when a script config window is still open and you make changes to the script in the background (any editor) the config items get trashed.
In severe cases, DO will crash too, that happened two times for me at least. If the script config window is closed and re-opened, the trashed items got fixed.
This trashing must not be visible after a tiny script change, but for heavier changes or multiple "saves" on the script, the effect increases.

Config window correct:


Config window after changing the script, notice especially the config item names,
which still look quite good here, I normally get a lot of chinese characters all over:

Thanks, this will be fixed in the next update.