Remove many superfluous debugging statements