Added hint file CRC and checks for whether the hint file is corrupted
merged conflicts