Add setting for changing amount of backlog lines

Fixes #58 

- [x] Truncate list of lines for each tab to prevent memory leak