(Sorry in advance, I don't know how to embed code here)

It's a kludge, but I got two hats (sort of) recognized.

Because we use the &T16001 alias, the hat switch checker on line 258 of...