Addedmissing newlines for debug printouts.