1. repaired downloader.
2. added consistency check program.