Use the right parent for the template
Reload the history view when repository changes
Remove unused method 'append_separator()'
Remove unused method 'remove_section()'
Follow the coding style