change batched_store to use only 1 internal hashtbl (simpler and more ef...

...ficient)

But before we merge this in we probably want to do some performance testing...