Close new table in populating metadata.
Increase checksum noting and matching for imports.
Merge pull request #947 from mtbc/trac-2581

Increase checksum noting and matching for imports. (rebase)