Larry:
This is not an answer to your post, but a question about the viewer you are using.
I copied the viewer to my webserver and replaced 2 mapservices with my mapservices. When I try to use the Measurement Tool, the Identify tool gets in the way. Are you experiencing this same phenomenon?