DB contents printed, dumped to disk on shutdown. Fixes #1