Fixes to systems export and import functionality.

Fixes to some base import exporter code that shouldhave been in before testing systems import and export.All imports, with the exception of process import, aremostly feature complete and ready for test.