core: change trie::find_mut to actually test the key for equality
fix a couple bugs in heapmap
switch gc over to heapmap; inconsistency found so not yet working