Complex sentence: Anthony seems to approve of this and congratulates John just as he is leaving--opening the door, however, he sees Helen standing right there.
Split into simpler sentences: Anthony seems to approve of this and congratulates John just as he is leaving. Opening the door, however, he sees Helen standing right there.