New way to loop through windows.