Update Win32 window clean up procedure