Fixed some logging and an endline issue.