Refactored and simplified PMLTQ::CGI