removed debug message
clean up surface when Terminal has been destroyed .