Rewrite the HTML export feature (#62)

HTML export now lets the user select which fields they want to export.