Lots of Polylang compatibility and gateways fixes. Pre-release tests completed.