Remove unused variable
Print correct amount of output lines

This now filles the entire screen instead of leaving a "safety" blank
line at the bottom. The trick was to cut of the newline at the last line
we are printing.
Fix build error by adding missing lines

Seems like I messed up when doing `git add -p` before the last commit.