check the git/hg root when changing buffers. resolves #237.
support for conditional parts. resolves #238.