Added code to display stacks of colors for each line.