Added FormElement::__toString().
Updated logging.