Grr. Found a major flaw in some code I wrote months ago. Now needing to rewrite large chunks. What was I thinking?