Drag gauss on/off pulses

--BRJ
Bug fix for greedy markers.

Respect the stack depth of 2 limitation on the APS.

--BRJ and CAR