Make paging and wrapping sensitive to the initial terminal size

Does not respond to SIGWINCH. Might be overachieving to do more until the brittleness created by the use of the ">>" operator is removed.
Also corrected the bug I had introduced where 'key' was echoing when it should not have.