Save the settings on a per-character basis instead of globally

This is causing me problems since 5.4. The funny thing is that I fail to see why it never was a problem before...