Put in some code to find performance issues.
Made the maxProgressReport timer in mesh actually work.