Changes in the Redactor that should be in Vadim-branch.

Changes in the Redactor that should be in Vadim-branch.