Debug formatting fixes, avoid unwanted \n