database consistently check that the database exists and is open. Add a few missing checks. Remove redundant load and direct close of dummy database on closure.
database consistently check that the database exists and is open. Add a few missing checks. Remove redundant load and direct close of dummy database on closure.