Eric Pouech : richedit: Move init code after some sanity checks to avoid unneeded computations.