Display lock on squarewaves, but not if they are noisy.
Fixed bug with axes.