Changed to use fls.Application for data storage.
Changed a parameter name in the serialization functions.

file_name changed to file_object.
Simplified preferences code.

There was zero reason for the preferences to be an object.  Much cleaner this way.