Migrate IR memory to new prefs. Add plumbing for integer prefs.