Refactor the argument handling for launching external editor
Add an icon and tooltips to the history buttons