[WIP] CHM and related fixes

Initiated by [this post](http://forum.dlang.org/post/kpb73h$17rv$1@digitalmars.com) reporting problems with the CHM.