When window about minimized and then maximized - 
it is really maximized in spite of my subroutine.

I don't ask if the project has been saved!
