Fixed the display problem, 
by adding in the forgotten break statements to the switch syntax.