Fixed up logging.
Fixed up DOM parsing issue.