n stage coded
Rejigged contour type strings, added N stage
Extracted common contour type panel code