added destroy all windows