Thanks. Works like a charm. I had been using something similar...
/window -a $iif(* * iswm $lactive,$+(",$lactive,"),$lactive)
...I had pulled it from the forum. It worked, but not for the foreign window problem. Yours cures it. Who'da thunk it...two quotes would've made the difference. lol