Added output buffering for Lua pages.