Add error logs in web CGI
Web CGI error messages: minor fixes