fix a bunch of custom export things

- better smart ordering
- better naming/tagging for headers and fields
- adapt UI to fall back on a simpler UI when repeats are not an option
- always include the row id if there's more than one table