Thanks for all the ideas. They've come in very handy. I haven't done extensive testing, and the module is still too stupid to read configuration data, but I've gotten much farther. Right now, static html works fine, but php pages (need both per customer requirements) spit out too much at the tail end. I'll post my code below for review, as well as a snippet of the php page code as delivered. The problem is much worse when the pages are very large, so the example php code uses a loop to print a comment 1000 times. I suspect I'm filling the brigade or a bucket to full, or not doing something to tell it where the end is. Please send me any and all feedback that may help (stupid mistakes or items I've overlooked most of all). Here's my php test code: \n"; echo "\n"; echo "\n"; echo "