Some observations
CGI applications are never finished.
Man is a tool building animal.
You need to consider for CGI security.
CGI is as dynamic as the HTML it generates.