Minor bugfixes, mostly to how feedback documents are treated.