Solution:
Let J be the center of the excircle ω. Then JE⊥AE and JF⊥AF hold, so the Thales circle Ω of AJ passes through E and F, and hence also through P and Q. Let the ray AD meet Ω and ω again at N and T, respectively.

Then JN is the perpendicular from J to DT, so N is the midpoint of the segment DT. Hence, by the power of a point theorem,
∣DM∣⋅∣DT∣=21⋅∣DA∣⋅∣DT∣=∣DA∣⋅∣DN∣=∣DP∣⋅∣DQ∣,
so by the converse of the power of a point theorem, the point T lies on the circumcircle of triangle MPQ. We now consider the image of N under inversion in the circle ω, and denote it by Z. Since the Thales circles over JD and JT both pass through the point N, Z lies on the images of these circles, namely the tangents to ω through D and T. On the former line also lie B, C, P and Q. Furthermore, N lies on the circle Ω, which under the inversion considered is mapped to the line EF, so Z also lies on the line EF. Hence, by the power of a point theorem (secant form),
∣ZT∣2=∣ZE∣⋅∣ZF∣=∣ZP∣⋅∣ZQ∣,
so by the converse of the power of a point theorem (secant form), ZT is also tangent to the circumcircle of triangle MPQ. Thus we have proven that this circle and ω are tangent to each other at the point T.