Cellbase-adapter: joined histogram puts in one transaction.

Also, fixed histogram-renderer.