tidy up debugging messages.
tidy up debugging messages.