Added preferences.txt to save and load changes to extensions.