ExtRoot code improvments