prettified HistoryView/minor changes/work in progress