Timm van der Gugten and Michael Hogan took three wickets each but Durham continued to dominate, reaching 503/8 dec before Glamorgan ended their second innings on 71/2 at the close