Fix output in daemon mode
Ye olde whitespace cleanup part 2

sed -i, glanced at.