Cleaned up debug prints in retract. Now it works in a vaguely sane way.