Tidying up output, removing blank lines