I already tried to break the program into as many branches as possible without luck.
In case I never made the point well enough... it wasn't for breaking the script into branches, it was for
splitting the web content into multiple smaller web-page branches each with its own WAIT instruction to send lesser amounts of web content to the browser each time.
Cos as far as Esp_Basic is concerned, a web page consists of all web instructions issued by the script and accumulated prior to being sent to the browser by the WAIT command.
To highlight the point further - the web-content buffer might have no problems handling a single web component on a web page no matter how many pages were available because it would only ever have to deal with one component at any time, whereas if all those single-component web pages were squeezed onto a single page they could collectively overload the buffer.