Add status bar

... and attempt to fix bug involving a buffer with more lines that there
are terminal rows.