fix(history): Separate histories and views, clear other views in clearHistory(), closes #724