Simpler way of doing the same window-exists tests.
Authored by: lloydwood 2020-05-27
Parent: [r178]
Child: [r180]