Updates in HTreeMap, fixed race condition, added extra cache methods.