Scrolling console output

Console output can now handle long histories.