Dhtmlxeditor width & scrollbar problem

I’m playing with the dhtmlxeditor and can’t get it to render properly.The toolbar is wider than the editor window and in firefox, it shows an extra scrollbar. I’ll attach a screenshot after posting this.

Here’s my editor generation code:

Any ideas?

The issue isn’t reproduced with the latest editor version. Please, see attached sample.
test.zip (38.6 KB)

Try to insert this in dhtmlxeditor.js
this.editor.style.width = “100%”;

this.editor = document.createElement(“IFRAME”);
this.editor.className = “dhxeditor_mainiframe_”+this.skin;
this.editor.frameBorder = 0;