Fixed set_folder_prefs, added get_folder_prefs