Update demo to be consistent with intended usage

Since we really want users to access only individual preferences, changed
the demo to do this instead.  Also added a toggle so you can choose
whether to output a new state to the file or not to facilitate playing
around.