tor.cgi: Minor functionality fixes and layout improvements.