*current-input* is now a lexical variable within the input stream code. The result is that concurrent requests can be served safely without resorting to the namespace tricks used by TeX2page as distributed with PLT.
reverse!, for performance reasons, the resulting program is side-effect free.