1.6.6 updates
Merge branch 'release-1.6.6'
Restored IVAR used by DTRichTextEditor
Merge branch 'master' into develop