added comment on why history is a dialog and not a page
refactoring
fine-grained commit notes