Handle nan and inf cases in JSON. Allow external I/O for DDT
(preparing for debug of GUI and FCGI). Allow access to FD sets
and timeval for select(). Add MAX() and MIN().