updaes for deprecated preferences api and fix new extension template
Merge pull request #11 from JeffryBooher/jeff/fixCopyErrorAndNewPrefs

updaes for deprecated preferences api and fix new extension template