A number of incremental touchups. I hit a desgin problem when I realized that a CountedPtr<a> is not easily cast to a CountedPtr<b>. I think there are simple solutions to this, but I am not presently aware of them.