How about doing it the same way a regular error shows - say, if you set the option that you have to declare variables - it halts on the first error period ? Using the same logic here seems to me to be the easiest way, or? Perhaps that doesn't touch that kind of nested code?
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!