Win32 quit fix to make sure to destroy all windows properly