memory improvements for importer, start of data export