Fixed and cleaned up clear to end line and clear to end of screen
functions. Also added demo command 'S' to exercise "clear to end
screen".