Fixes VS Stop Debugging button.
Fixes a number of issues reported on CodePlex.
Merge TFS Changeset 106041