Adding debugging print statements.

It appears that updateMesh() gets called before Dirac points are added, so that would be too late.