gnome-help-browser should _not_ be used to view arbitrary HTML documents. May I repeat _not_. (Nautilus is the normal GNOME help browser, but doesn't make sense for arbitrary files.) Mozilla is a fine web browser to use under GNOME. Also, /sbin/pidof gnome-session is a really silly way to detect if you are running under GNOME. Checking whether the GNOME_SESSION_NAME environment variable set would be more reliable.
Fixed in 2.0.0