Bunch of bug fixes.
Some small improvements
CRC hash added to Common crypto