fixed issue #2 hopefully. (database not open crash)
now you can start and stop again without a crash. therefore, it seems to work. let's monitor this.