Fix final issues about contourlines, finished for now