local storage app pref function

replaced a few local storage nukes w/ function that will check for
account holder var kept in local storage and replace it after nuke if
present.