I agree that it's time to look at my code and clean it up, but I can't avoid globals. I'm not sure if it was ever possible, but it certainly isn't now because the code is too large and relies very heavily on some globals (I've avoided them where possible but in some cases I couldn't actually think of another solution).
I'll start chopping it up, but I suspect I'll need help with the include issue, because it caused headaches last time I tried.
I'll start chopping it up, but I suspect I'll need help with the include issue, because it caused headaches last time I tried.