Added environment variables for CGI
Finished CGI invocation with environment variables.
Got rid of a few debug traces, added env vars
Merge branch 'www'