Open last used databases on startup.

Refs #36
Add settings option to control if previous databases are opened on startup.

Closes #36