Fixed tail/csv and debug display
Prettier code
Readme has more info