added fix for switch to and get window handles. You still have to grab window handles, but can switch to another window without grabbing it again.