Various updates including performance improvement for md5 checksum calculation.