updating deleteWinWS to work with floating windows