Fixed extension duplication and added logging to settings. Also changed how changes are logged.