Bug fix---CgiNew() was not properly checking return codes.  My bad.