print newline after interrupt is caught
refactor output setup