Thank you Fellippe for the attention, and also for the interesting information.
I'm very sorry but I'm not able to confirm the behavior of code compiled with previous versions.
A few lines of code don't seem to make much difference but, generally, closing with version 1.2 still seems a little faster.
On 1.3-1.4 version, even trying to close the application by closing the window by clicking on the X spends a lot of time.
Behavior seems to be random with the general tendency to last much longer than expected.
In doing the tests I noticed that there seem to be problems in reading INKEY$, especially - but not only - with CHR$(27): sometimes it seems that it has difficulty reading it (with the ESC command, as is logical, I would like you to leave the program). it's a strange behavior!
However it is certain that at the beginning of the development of my programmes this problem had never occurred.
Today it's really nerve-racking having to wait 3 or 4 seconds or moore to close the window at the end of the program
About _FULLSCREEN I don't use it.
____
I use win7 64 professional.