Export data with half-decent indentation.

Turns out this was *not* hard.  OK, then.
Add "edit-mode" config flag, to enable/disable editing features.
Specs for the "export data" widget support code.