No need for this, empty tags should not have an ending tag sent.

Finally fix the annoying creeping spaces in the log file...