Fixed a build error and several warnings.
Logic fix for hashes.
Further hash function revisions.
Fixes the original import issue for real this time. Honest.
Merge pull request #24 from NSError/ImportFix

Fixed a build error and several warnings.