Project import/export patch

This update patches issues when importing or exporting projects.