Tweaks.

Remove unused variable and only print newline when we realy printed
a triggered line.