Fix database creation/opening.

- Remove some awkward debugging info.