Fixed a significant bug in ChainedHashTable
Lots of work on the pcode version