Redid the entire database management code. Upgraded to SQLCipher 3.
Update CHANGES with changes from last commit.