Bug 1083657 - Fix intermittent 'this.editor is null' in projecteditor;r=paul