more documentation tweaks, add export_all_templates (not yet implemented)