Some changes in logging.
Fixed separators.
Fixed newlines.
Fixed separators and added a new test for them, so we won't have to do it manually anymore.