Misc code cleanups

- Whitespace, formatting

- No longer print extra line-break before log output
Fixed line breaks

2x line spacing was still happening. That should be resolved now.