limit output 80 logs per page
better debug output (change it to logger when done)
fixed showing wrong number on last page