Fixed #29 Application now stores the last open database by itself. If window restoration in OS X is disabled, the app also reopens the last db.