Preferences hooked up to server.

* Alert sound preference functional
* Enter/shift-enter preference functional
* Image auto-hide not implemented yet, pending that feature being merged.

Fixes #78.