Fixed whitespace

This change ensures that console logs are not overly indented, and that file logs stay on one line.