Index: /CKEditor/trunk/_source/core/editor.js
===================================================================
--- /CKEditor/trunk/_source/core/editor.js	(revision 6365)
+++ /CKEditor/trunk/_source/core/editor.js	(revision 6366)
@@ -548,5 +548,5 @@
 				this.updateElement();
 
-			this.theme.destroy( this );
+			this.theme && this.theme.destroy( this );
 
 			this.fire( 'destroy' );
Index: /CKEditor/trunk/_source/plugins/editingblock/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/editingblock/plugin.js	(revision 6365)
+++ /CKEditor/trunk/_source/plugins/editingblock/plugin.js	(revision 6366)
@@ -117,5 +117,6 @@
 			{
 				// ->		currentMode.unload( holderElement );
-				this._.modes[ this.mode ].unload( this.getThemeSpace( 'contents' ) );
+				if ( this.mode )
+					this._.modes[ this.mode ].unload( this.getThemeSpace( 'contents' ) );
 			});
 		}
Index: /CKEditor/trunk/_source/plugins/richcombo/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/richcombo/plugin.js	(revision 6365)
+++ /CKEditor/trunk/_source/plugins/richcombo/plugin.js	(revision 6366)
@@ -291,14 +291,16 @@
 
 			var textElement = this.document.getById( 'cke_' + this.id + '_text' );
-
-			if ( !( value || text ) )
-			{
-				text = this.label;
-				textElement.addClass( 'cke_inline_label' );
-			}
-			else
-				textElement.removeClass( 'cke_inline_label' );
-
-			textElement.setHtml( typeof text != 'undefined' ? text : value );
+			if ( textElement )
+			{
+				if ( !( value || text ) )
+				{
+					text = this.label;
+					textElement.addClass( 'cke_inline_label' );
+				}
+				else
+					textElement.removeClass( 'cke_inline_label' );
+
+				textElement.setHtml( typeof text != 'undefined' ? text : value );
+			}
 		},
 
Index: /CKEditor/trunk/_source/themes/default/theme.js
===================================================================
--- /CKEditor/trunk/_source/themes/default/theme.js	(revision 6365)
+++ /CKEditor/trunk/_source/themes/default/theme.js	(revision 6366)
@@ -244,15 +244,19 @@
 		destroy : function( editor )
 		{
-			var container = editor.container;
-			container.clearCustomData();
-			editor.element.clearCustomData();
+			var container = editor.container,
+				element = editor.element;
 
 			if ( container )
+			{
+				container.clearCustomData();
 				container.remove();
-
-			if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
-				editor.element.show();
-
-			delete editor.element;
+			}
+
+			if ( element )
+			{
+				element.clearCustomData();
+				editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE && element.show();
+				delete editor.element;
+			}
 		}
 	};
