Add support for multiple score types in local storage.

Also fixes #4.