Index: /FCKeditor/trunk/_samples/sampleslist.html
===================================================================
--- /FCKeditor/trunk/_samples/sampleslist.html	(revision 11)
+++ /FCKeditor/trunk/_samples/sampleslist.html	(revision 12)
@@ -99,4 +99,5 @@
 					<optgroup label="Python">
 						<option value="py/sample01.py">Python : Sample 01 : Editor with all features</option>
+					</optgroup>
 				</select>
 			</td>
Index: /FCKeditor/trunk/_test/manual/fckpanel/test1.html
===================================================================
--- /FCKeditor/trunk/_test/manual/fckpanel/test1.html	(revision 11)
+++ /FCKeditor/trunk/_test/manual/fckpanel/test1.html	(revision 12)
@@ -20,4 +20,5 @@
 	<script src="../../../editor/lang/en.js" type="text/javascript"></script>
 	<script src="../../../editor/_source/classes/fckpanel.js" type="text/javascript"></script>
+	<script src="../../../editor/_source/internals/fckdebug.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
@@ -46,12 +47,18 @@
 	}
 
+	FCKConfig.FloatingPanelsZIndex = 10000 ;
+	// Automatically calculates the editor base path based on the _test directory.
+	var sBasePath = document.location.pathname.substring(0, document.location.pathname.lastIndexOf('_test')) ;
+	FCKConfig.BasePath = sBasePath + 'editor/';
+	FCKConfig.Debug = true ;
+
 	oPanel = new FCKPanel() ;
 	oPanel.AppendStyleSheet( 'test1/test.css' ) ;
 	oPanel.OnHide = Panel_OnHide ;
-	oPanel.MainNode.innerHTML = '<table align="center" border="1" cellpadding="5"><tr><td nowrap>Left</td><td>to</td><td>Right</td></tr></table><input type="button" value="Show Child" onclick="Show( this );">' ;
+	oPanel.MainNode.innerHTML = '<table align="center" border="1" cellpadding="5"><tr><td nowrap>Left<\/td><td>to<\/td><td>Right<\/td><\/tr><\/table><input type="button" value="Show Child" onclick="Show( this );">' ;
 
 	oPanelInner = oPanel.CreateChildPanel() ;
 	oPanelInner.AppendStyleSheet( 'test1/test.css' ) ;
-	oPanelInner.MainNode.innerHTML = '<table><tr><td nowrap>Test Fred</td></tr></table>' ;
+	oPanelInner.MainNode.innerHTML = '<table><tr><td nowrap>Test Fred<\/td><\/tr><\/table>' ;
 
 	FCKTools.GetElementWindow( oPanel.MainNode ).Show = this.ShowInner ;
@@ -77,5 +84,5 @@
 	var eDiv = oPanel.MainNode.appendChild( oPanel.Document.createElement( 'DIV' ) ) ;
 	eDiv.style.width = '300px' ;
-	eDiv.innerHTML = 'This is <b>some</b> content'
+	eDiv.innerHTML = 'This is <b>some<\/b> content'
 }
 
@@ -120,4 +127,6 @@
 </head>
 <body>
+<form name="fake" action="test1.html" method="get">
+
 	<div style="height: 200px">
 		<!-- This div is here just to make some space -->
@@ -129,5 +138,5 @@
 				<br>
 				<select>
-					<option selected></option>
+					<option selected>&nbsp;</option>
 					<option>This is an option of the select box</option>
 					<option>Other option</option>
@@ -147,7 +156,9 @@
 	<input id="chkRTL" type="checkbox" onclick="SwitchRTL( this.checked );">
 	Right to Left (RTL)<br>
-	<div style="height: 1000px">
+	<div style="height: 1000px; width: 1000px;">
 		<!-- This div is here just to show the scrollbar -->
 	</div>
+
+</form>
 </body>
 </html>
Index: /FCKeditor/trunk/editor/_source/internals/fckdebug.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckdebug.js	(revision 11)
+++ /FCKeditor/trunk/editor/_source/internals/fckdebug.js	(revision 12)
@@ -35,5 +35,5 @@
 	try 
 	{
-		this._GetWindow().OutputObject( message, color ) ;
+		this._GetWindow().OutputObject( anyObject, color ) ;
 	} 
 	catch ( e ) {}	 // Ignore errors
Index: /FCKeditor/trunk/fckeditor.js
===================================================================
--- /FCKeditor/trunk/fckeditor.js	(revision 11)
+++ /FCKeditor/trunk/fckeditor.js	(revision 12)
@@ -47,5 +47,5 @@
 	{
 		this._ThrowError( 701, 'You must specify an instance name.' ) ;
-		return ;
+		return '' ;
 	}
 
