Added commands to wait until a slew is finished before continuing for the horizontal graticule scan.