Consolidated to single global for dbstruct.
Removed *megatest-db*
Removed *inmemdb*
Removed *write-frequency*
Removed *client-non-blocking-mode*
Consolidated db:open-local-db-handle in with db:setup
Fixed calls which used db to instead use dbstruct
Change repl to use db:setup for getting a db handle