added reprinting the header every 25 lines

machine readable mode -m turns this off