What year was the pool installed and what version of the NEC is your area on. 98% chance the window frames do not need to be bonded even if they are within 5' of the pool. Bonding back to the panel is never required for the equal potential bonding grid unless you live someplace where they are unable to read the code well.
Agreed except to the point of the window frame portion of the statement. It appears that the NEC Handbook has been saying this for years....
(7) Metal Wiring Methods and Equipment. Metal-sheathed cables and raceways,
metal piping, and all fixed metal parts shall be bonded.
The metal parts required to be bonded per 680.26(B) include all metal parts of
electrical equipment associated with the water-circulating system of the pool, all metal
parts of the pool structure, and all fixed metal parts, which include conduit and piping,
metal door frames, and metal window frames, within 5 ft of the inside walls of the
pool and not separated by a permanent barrier. Other examples of fixed metal parts
covered by this requirement include metal fences and metal awnings. The bonding of
these parts can be accomplished by one or more of the following methods using a solid
8 AWG or larger, insulated, covered, or bare copper conductor. See Exhibit 680.13.
Brass or other corrosion-resistant metal conduit can also be used as a bonding
conductor for connecting metal parts together.
? Connecting the parts directly to each other in series or parallel configurations
? Connecting the parts to the unencapsulated structural metal forming the shell of a
conductive pool or connecting the parts to a copper conductor grid system used
around the contour of a conductive pool shell
? Connecting the parts together using the pool shell constructed of bolted or welded
steel as a common connection point. See Exhibit 680.13
? Connecting the parts to the perimeter bonding grid consisting of either structural
reinforcing steel (re-bar or welded wire mesh) or a solid 8 AWG bare copper
conductor encircling the perimeter of the pool