Allow "infinite scrollback"

Added ability to specify -1 for scrollback lines value in the preferences window.