Fixed a memory leak
Now minimize window 2 (little box) is working properly with the taskbar