[WIP] Convert FOR_ALL_WINDOWS to use a locally declared pointer

Same typo, but I think this line can be removed.