The produced HTML from the existing reset just encrypts or decrypts the code again and doesn't blank everything out.
On the Caruma website it resets itself (when running it from the link I mentioned). It looks like they're using some type of custom HTML that they're drawing from so when running the code off their CGI extension it prints everything out on the same page.
Unfortunately with the code they supplied I'm limited in my knowledge of how to output it to a HTML page so I can only run it off the CGI script directly. If I figured out how to run the code from a form type HTML page and have the CGI throw the output to that then I'd have it made.