Fix G261a.

The Regex matched \d+ and missed the trailing a, so it marked G261.
Fix an undefined error
Keep active gallery filled white