Cleaning
Restores outgoing control values (and improves debug print)