Series of bugfixes since 3.9.2 release.