Rename config key for last opened databases.
Fix coding style.