Improve input form usability and clean up the display of output variables.

Also make accordion headings clickable.