http://www.total-emu.org/gallery/
No unregistered access, but you can see what the problem is.
I have tried using if condition="THIS_SCRIPT == 'scriptnamehere' to stop it doing it, but there are a few scripts that call the STANDARD_ERROR template and I'm not sure how to include all the gallery scripts into the condition.
I've tried a couple of ways that didn't work.
Any help would be appreciate.