History panel: add better protection v. lack of Galaxy, Galaxy.currUser