Changelog and dxR version update for v0.40.0