Added ability to make in-mem db be on disk for debugging