Implement default settings and add option for how many history rows to show.