Fixing the fact that we show lists that are empty.

It turns out that this was a really easy fix and I just procrastinated about it for far too long.
Also stopped showing log messages that just were not required.
Made it so that even the top level elements only get newlines if they have elements.