anchor.diff:          }
   
           SearchHistory.prototype.initialize = function() {
  -            var searchTermsArray = PrefHandler.to_array(Prefs.getString("searchList"));
  +            var searchList = Prefs.getString("searchList");
  +            alert("in SearchHistory.prototype.initialize. searchList=" + searchList);
  +            var searchTermsArray = PrefHandler.to_array(searchList);
                  if(searchTermsArray.length > 0) {
  -            var lastSearch = searchTermsArray.pop();
  -
  -                if(lastSearch !== "") {
  -
  -                    settings.currentTerm = lastSearch;
  -
  -                }
  +                alert("have search terms!");
  +                var lastSearch = searchTermsArray.pop();
  +                if(lastSearch === null) {
  +                    lastSearch = "";
  +                }
  +                settings.currentTerm = lastSearch;
   
               } else {
  +                 alert("NO search terms!");
                    Behaviors.history_button_hide();
               }
   
  
positive.code:                     var historyResult = "";
                      try {
                          //return prefs.getString(pref);
                          alert("attempting to get history from '<%=renderResponse.encodeURL(getHistoryUrl.toString())%>'");
                          var ajaxResult = $.ajax(
                                  {
                                     type: 'GET',
  
negative.code: 
              results.groups = data.groups;
  
              $('#pid_results').html(this.renderHtml(results.sort(data.items)).join(" "));
          }
          Results.prototype.renderHtml = function(sorted_data) {
              var html = [];
              var count = sorted_data.length;
  
  