This should be the last of the fixes for things not properly saving.
Merge pull request #1589 from ririchiyo/preference_sqlite

This should be the last of the fixes for things not properly saving.