UI in progress
Fixed end value for n stage; made envelope start and end values more rubust
Updated min number of stages in n stage
Fix display of n stage contour
N stage working
Use time rows for n stage durations