Preferences can now be saved, fixed docs