Added window title with status label.
Fixed bug where if the DB field in the settings is blank, it will still
try to open the database.