More work on reports.
Reworked the handling of template default, reorganized the command set: 'show', 'set', 'reset' now.
Started working on 'import, 'edit'.
Tweaked 'export'.
Refactored internals a bit, around 'export' and other places retrieving report information.