Change .db files to new db directory, add support for remembered user modes, and more.