GUI: convert ResultArea to a mediator class.