printtemplate: correct option passthrough
cgi: fix argument passing, show output of printing process
fix empty form elements