Fix stop logic.
Allow settings pps==0 and transmit as fast as possible if it is.
Fix stop logic and scheduling logic if pps==0.