Fixes an invalid read error.
More memory leak fixes.
More memory fixes.
Tracked down a major bug, and fixed a minor one

- We weren't calculating hashes based on the new table size, so we were
  only using about 50% of our new hash table space. Dumb.