What does it matter if the windows have the same name or not? $active returns the active window, irrelevant as to the window name