Improving export routines

Generally working through some changes to the export code - focusing first on the Data tab. Timeline and Map are coming next.