Make preferences sharing across projects work.

Refs #36