Closed loop control and println cleanup