Index: media/ui/CharOverview01.layout
===================================================================
--- media/ui/CharOverview01.layout	(revision 603)
+++ media/ui/CharOverview01.layout	(working copy)
@@ -2,7 +2,7 @@
 <MyGUI type="Layout">
     <Widget type="StaticImage" skin="StaticImage" position_real="0 0 1 1" align="Stretch" layer="Back" name="ImageBackg">
         <Property key="Image_Texture" value="MainMenuBack.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
         <Property key="Widget_Enabled" value="false"/>
     </Widget>
     <Widget type="Widget" skin="Panel" position_real="0.149414 0.148438 0.65918 0.658854" layer="Main" name="PanelCharacter">
Index: media/ui/CharOverview02.layout
===================================================================
--- media/ui/CharOverview02.layout	(revision 603)
+++ media/ui/CharOverview02.layout	(working copy)
@@ -2,7 +2,7 @@
 <MyGUI type="Layout">
     <Widget type="StaticImage" skin="StaticImage" position_real="0 0 1 1" align="Stretch" layer="Back" name="ImageBackg">
         <Property key="Image_Texture" value="MainMenuBack.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
         <Property key="Widget_Enabled" value="false"/>
     </Widget>
     <Widget type="Widget" skin="Panel" position_real="0.1 0.1 0.8 0.8" layer="Main" name="PanelCharacter">
Index: media/ui/MainMenu.layout
===================================================================
--- media/ui/MainMenu.layout	(revision 603)
+++ media/ui/MainMenu.layout	(working copy)
@@ -28,6 +28,6 @@
     </Widget>
     <Widget type="StaticImage" skin="StaticImage" position_real="0 0 1 1" align="Stretch" layer="Back">
         <Property key="Image_Texture" value="MainMenuBack.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
     </Widget>
 </MyGUI>
Index: media/ui/Core/core_layer.xml
===================================================================
--- media/ui/Core/core_layer.xml	(revision 603)
+++ media/ui/Core/core_layer.xml	(working copy)
@@ -1,20 +1,51 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<MyGUI type="Layer" version="1.0">
+<MyGUI type="Layer" version="1.2">
 
-    <Layer name="Back" overlapped="false" pick="true"/>
-    <Layer name="Overlapped" overlapped="true" pick="true"/>
-    <Layer name="Middle" overlapped="false" pick="true"/>
-    <Layer name="Modal" overlapped="true" pick="true"/>
-    <Layer name="Main" overlapped="false" pick="true"/>
-    <Layer name="Popup" overlapped="true" pick="true"/>
-    <Layer name="FadeMiddle" overlapped="false" pick="false"/>
-    <Layer name="Info" overlapped="true" pick="true"/>
-    <Layer name="ToolTip" overlapped="false" pick="false"/>
-    <Layer name="DragAndDrop" overlapped="false" pick="false"/>
-    <Layer name="FadeBusy" overlapped="false" pick="false"/>
-    <Layer name="Pointer" overlapped="false" pick="false"/>
-    <Layer name="Fade" overlapped="false" pick="false"/>
-    <Layer name="Statistic" overlapped="false" pick="false"/>
-
+	<Layer type="SharedLayer" name="Wallpaper">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="SharedLayer" name="Back">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="OverlappedLayer" name="Overlapped">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="SharedLayer" name="Middle">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="OverlappedLayer" name="Modal">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="SharedLayer" name="Main">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="OverlappedLayer" name="Popup">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="SharedLayer" name="FadeMiddle">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="OverlappedLayer" name="Info">
+		<Property key="Pick" value="true"/>
+	</Layer>
+	<Layer type="SharedLayer" name="ToolTip">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="SharedLayer" name="DragAndDrop">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="SharedLayer" name="FadeBusy">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="SharedLayer" name="Pointer">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="SharedLayer" name="Fade">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	<Layer type="SharedLayer" name="Statistic">
+		<Property key="Pick" value="false"/>
+	</Layer>
+	
 </MyGUI>
Index: media/ui/Core/core.xml
===================================================================
--- media/ui/Core/core.xml	(revision 603)
+++ media/ui/Core/core.xml	(working copy)
@@ -2,7 +2,7 @@
 
 <MyGUI type="List">
   
-  <List file="core_keyboard.xml" group="General"/>
+  <!--List file="core_keyboard.xml" group="General"/-->
   <List file="core_language.xml" group="General"/>
   <List file="core_layer.xml" group="General"/>
   <List file="core_font.xml" group="General"/>
@@ -12,5 +12,6 @@
   <List file="core_resource.xml" group="General"/>
   <List file="core_skin.xml" group="General"/>
   <List file="core_pointer.xml" group="General"/>
+  <List file="core_settings.xml" group="General"/>
   
 </MyGUI>
Index: media/ui/Core/core_pointer.xml
===================================================================
--- media/ui/Core/core_pointer.xml	(revision 603)
+++ media/ui/Core/core_pointer.xml	(working copy)
@@ -1,15 +1,47 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<MyGUI type="Pointer">
+<MyGUI type="Resource" version="1.1">
 
-  <Pointer layer="Pointer" default="arrow">
-    <Info name="arrow" point="1 1" size="32 32" resource="pic_CorePointerArrow"/>
-    <Info name="beam" point="16 16" size="32 32" resource="pic_CorePointerBeam"/>
-    <Info name="size_left" point="16 16" size="32 32" resource="pic_CorePointerSizeLeft"/>
-    <Info name="size_right" point="16 16" size="32 32" resource="pic_CorePointerSizeRight"/>
-    <Info name="size_horz" point="16 16" size="32 32" resource="pic_CorePointerSizeHorz"/>
-    <Info name="size_vert" point="16 16" size="32 32" resource="pic_CorePointerSizeVert"/>
-    <Info name="hand" point="16 16" size="32 32" resource="pic_CorePointerHand"/>
-  </Pointer>
+	<Resource type="ResourceImageSetPointer" name="arrow">
+		<Property key="Point" value="1 1"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerArrow"/>
+	</Resource>
 
+	<Resource type="ResourceImageSetPointer" name="beam">
+		<Property key="Point" value="16 16"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerBeam"/>
+	</Resource>
+
+	<Resource type="ResourceImageSetPointer" name="size_left">
+		<Property key="Point" value="16 16"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerSizeLeft"/>
+	</Resource>
+
+	<Resource type="ResourceImageSetPointer" name="size_right">
+		<Property key="Point" value="16 16"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerSizeRight"/>
+	</Resource>
+
+	<Resource type="ResourceImageSetPointer" name="size_horz">
+		<Property key="Point" value="16 16"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerSizeHorz"/>
+	</Resource>
+
+	<Resource type="ResourceImageSetPointer" name="size_vert">
+		<Property key="Point" value="16 16"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerSizeVert"/>
+	</Resource>
+
+	<Resource type="ResourceImageSetPointer" name="hand">
+		<Property key="Point" value="16 16"/>
+		<Property key="Size" value="32 32"/>
+		<Property key="Resource" value="pic_CorePointerHand"/>
+	</Resource>
+
 </MyGUI>
Index: media/ui/Core/core_language.xml
===================================================================
--- media/ui/Core/core_language.xml	(revision 603)
+++ media/ui/Core/core_language.xml	(working copy)
@@ -1,14 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<MyGUI type="Resource" version="1.1">
 
-<MyGUI type="Language">
+	<Resource type="ResourceLanguage" name = "English">
+		<Source>core_language_english_tag.xml</Source>
+	</Resource>
 
-  <Language default="English">
-    <Info name="English">
-      <Source>core_language_english.txt</Source>
-    </Info>
-    <Info name="Russian">
-      <Source>core_language_russian.txt</Source>
-    </Info>
-  </Language>
+	<Resource type="ResourceLanguage" name = "Russian">
+		<Source>core_language_russian_tag.xml</Source>
+	</Resource>
 
 </MyGUI>
Index: media/ui/Core/core_resource.xml
===================================================================
--- media/ui/Core/core_resource.xml	(revision 603)
+++ media/ui/Core/core_resource.xml	(working copy)
@@ -1,108 +1,108 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<MyGUI type="Resource" version="1.1">
-
-  <Resource type="ResourceImageSet" name="pic_CoreMessageIcon" id="{99AAEC52-6A43-47d6-B1DA-0477C12CE500}">
-    <Group name="Icons" texture="#{MyGUI_Theme_Texture}" size="50 50">
-      <Index name="Info">
-        <Frame point="0 203"/>
-      </Index>
-      <Index name="Quest">
-        <Frame point="50 203"/>
-      </Index>
-      <Index name="Error">
-        <Frame point="100 203"/>
-      </Index>
-      <Index name="Warning">
-        <Frame point="150 203"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerArrow" id="{C7ECFCE4-6021-4628-9BFF-1F36D594D7CB}">
-    <Group name="Pointer" texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" rate="0.15">
-        <Frame point="13 11" count="30"/>
-        <Frame point="13 52"/>
-        <Frame point="56 52"/>
-        <Frame point="91 52"/>
-        <Frame point="56 52"/>
-        <Frame point="13 52"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerBeam" id="{C62588E6-E9A5-451a-B6B3-60DD0B3A1F92}">
-    <Group name="Pointer" texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" >
-        <Frame point="45 8"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerSizeLeft" id="{089025E6-8FD8-4436-BB59-39C25F73243D}">
-    <Group name="Pointer" texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" >
-        <Frame point="122 48"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerSizeRight" id="{9B68E5CF-A473-45ae-BE33-42F8F1835FD6}">
-    <Group name="Pointer"  texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" >
-        <Frame point="160 48"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerSizeHorz" id="{8691EA41-80AB-4fb0-9EC3-F5FD2259F4A2}">
-    <Group name="Pointer"  texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" >
-        <Frame point="123 87"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerSizeVert" id="{A9A899E4-D02A-48bc-B223-660097E1D6FE}">
-    <Group name="Pointer"  texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" >
-        <Frame point="164 90"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePointerHand" id="{4FAA172A-C27F-49a0-B7AE-BA507389186C}">
-    <Group name="Pointer" texture="core_pointer.png" size="32 32">
-      <Index name="Pointer" >
-        <Frame point="154 11"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CoreMultiListIcon" id="{2CD9A5FB-9C14-4a50-A427-7BC282026008}">
-    <Group name="Icons" texture="#{MyGUI_Theme_Texture}" size="14 10">
-      <Index name="None" >
-        <Frame point="504 3"/>
-      </Index>
-      <Index name="Up" >
-        <Frame point="504 15"/>
-      </Index>
-      <Index name="Down" >
-        <Frame point="504 28"/>
-      </Index>
-    </Group>
-  </Resource>
-
-  <Resource type="ResourceImageSet" name="pic_CorePopupMenu" id="{54871B95-9A2C-482b-8A2B-3A6243396BBB}">
-    <Group name="Icons" texture="#{MyGUI_Theme_Texture}" size="12 14">
-      <Index name="None" >
-        <Frame point="505 60"/>
-      </Index>
-      <Index name="Popup" >
-        <Frame point="505 44"/>
-      </Index>
-    </Group>
-  </Resource>
-
-</MyGUI>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<MyGUI type="Resource" version="1.1">
+
+  <Resource type="ResourceImageSet" name="pic_CoreMessageIcon">
+    <Group name="Icons" texture="#{MyGUI_Theme_Texture}" size="50 50">
+      <Index name="Info">
+        <Frame point="0 203"/>
+      </Index>
+      <Index name="Quest">
+        <Frame point="50 203"/>
+      </Index>
+      <Index name="Error">
+        <Frame point="100 203"/>
+      </Index>
+      <Index name="Warning">
+        <Frame point="150 203"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerArrow">
+    <Group name="Pointer" texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" rate="0.15">
+        <Frame point="13 11" count="30"/>
+        <Frame point="13 52"/>
+        <Frame point="56 52"/>
+        <Frame point="91 52"/>
+        <Frame point="56 52"/>
+        <Frame point="13 52"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerBeam">
+    <Group name="Pointer" texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" >
+        <Frame point="45 8"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerSizeLeft">
+    <Group name="Pointer" texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" >
+        <Frame point="122 48"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerSizeRight">
+    <Group name="Pointer"  texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" >
+        <Frame point="160 48"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerSizeHorz">
+    <Group name="Pointer"  texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" >
+        <Frame point="123 87"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerSizeVert">
+    <Group name="Pointer"  texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" >
+        <Frame point="164 90"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePointerHand">
+    <Group name="Pointer" texture="core_pointer.png" size="32 32">
+      <Index name="Pointer" >
+        <Frame point="154 11"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CoreMultiListIcon">
+    <Group name="Icons" texture="#{MyGUI_Theme_Texture}" size="14 10">
+      <Index name="None" >
+        <Frame point="504 3"/>
+      </Index>
+      <Index name="Up" >
+        <Frame point="504 15"/>
+      </Index>
+      <Index name="Down" >
+        <Frame point="504 28"/>
+      </Index>
+    </Group>
+  </Resource>
+
+  <Resource type="ResourceImageSet" name="pic_CorePopupMenu">
+    <Group name="Icons" texture="#{MyGUI_Theme_Texture}" size="12 14">
+      <Index name="None" >
+        <Frame point="505 60"/>
+      </Index>
+      <Index name="Popup" >
+        <Frame point="505 44"/>
+      </Index>
+    </Group>
+  </Resource>
+
+</MyGUI>
Index: media/ui/Core/core_theme_black_orange.xml
===================================================================
--- media/ui/Core/core_theme_black_orange.xml	(revision 603)
+++ media/ui/Core/core_theme_black_orange.xml	(working copy)
@@ -1,11 +1,7 @@
 ﻿<?xml version="1.0" encoding="UTF-8"?>
 
-<MyGUI type="Language">
+<MyGUI type="Tag">
 
-  <Language>
-    <Info>
-      <Source>core_theme_black_orange.txt</Source>
-    </Info>
-  </Language>
+      <Source>core_theme_black_orange_tag.xml</Source>
 
 </MyGUI>
Index: media/ui/Core/core_skin.xml
===================================================================
--- media/ui/Core/core_skin.xml	(revision 603)
+++ media/ui/Core/core_skin.xml	(working copy)
@@ -1,1802 +1,2054 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<MyGUI type="Skin" version="1.1">
-
-  <Skin name = "RawRect" size = "16 16" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="RawRect" offset = "0 0 16 16" align = "Stretch">
-      <State name="normal" offset = "677 68 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "StaticText" size = "16 16">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Default" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}" />
-
-    <BasisSkin type="SimpleText" offset = "0 0 16 16"  align = "Stretch"/>
-  </Skin>
-  
-  <Skin name = "FlowConteiner" size = "16 16">
-    <BasisSkin type="MainSkin" offset = "0 0 16 16"/>
-  </Skin>
-  
-  <Skin name = "Spacer" size = "16 16">
-    <BasisSkin type="MainSkin" offset = "0 0 16 16"/>
-  </Skin>
-
-  <Skin name = "StaticImage" size = "16 16">
-    <BasisSkin type="MainSkin" offset = "0 0 16 16"/>
-  </Skin>
-  
-  <Skin name = "Canvas" size = "16 16">
-    <BasisSkin type="MainSkin" offset = "0 0 16 16"/>
-  </Skin>
-
-  <Skin name = "RenderBox" size = "10 10">
-    <_Property key="Pointer" value = "hand" />
-    <BasisSkin type="MainSkin" offset = "0 0 16 16"/>
-  </Skin>
-  
-  <Skin name = "TestRenderBox" size = "10 10">
-    <BasisSkin type="MainSkin" offset = "0 0 16 16"/>
-  </Skin>
-   
-  <Skin name = "TileClient" size = "32 32" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="TileRect" offset = "0 0 32 32" align = "Stretch">
-      <Property key="TileH" value = "true" />
-      <Property key="TileV" value = "true" />
-      <State name="normal" offset = "458 73 32 32"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "DefaultClient" size = "65 57" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 65 57" align = "Stretch">
-      <State name="normal" offset = "432 5 65 57"/>
-    </BasisSkin>
-  </Skin>
-
-  
-  <Skin name = "Separator4" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
-      <State name="normal" offset = "304 124 2 2"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "Separator3" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
-      <State name="normal" offset = "304 128 2 2"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "Separator2" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
-      <State name="normal" offset = "313 126 2 2"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "Separator1" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
-      <State name="normal" offset = "317 126 2 2"/>
-    </BasisSkin>
-  </Skin>
-
-
-  <Skin name = "MarkerGreen" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 18 1 1"/>
-      <State name="highlighted" offset = "678 6 1 1"/>
-      <State name="pushed" offset = "678 6 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MarkerYellow" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 42 1 1"/>
-      <State name="highlighted" offset = "678 30 1 1"/>
-      <State name="pushed" offset = "678 30 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MarkerBlack" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 54 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MarkerWhite" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 66 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "RectBlue" size = "11 10" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "0 0 1 1" align = "Left Top">
-      <State name="normal" offset = "674 74 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 0 9 1" align = "HStretch Top">
-      <State name="normal" offset = "676 74 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 1 1" align = "HStretch Top">
-      <State name="normal" offset = "684 74 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 1 1 8" align = "Left VStretch">
-      <State name="normal" offset = "674 77 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 1 9 8" align = "Stretch">
-      <State name="normal" offset = "676 77 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 1 1 8" align = "Right VStretch">
-      <State name="normal" offset = "684 77 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 9 1 1" align = "Left Bottom">
-      <State name="normal" offset = "674 83 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 9 9 1" align = "HStretch Bottom">
-      <State name="normal" offset = "676 83 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 9 1 1" align = "Right Bottom">
-      <State name="normal" offset = "684 83 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "RectGreen" size = "11 10" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "0 0 1 1" align = "Left Top">
-      <State name="normal" offset = "674 86 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 0 9 1" align = "HStretch Top">
-      <State name="normal" offset = "676 86 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 1 1" align = "HStretch Top">
-      <State name="normal" offset = "684 86 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 1 1 8" align = "Left VStretch">
-      <State name="normal" offset = "674 89 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 1 9 8" align = "Stretch">
-      <State name="normal" offset = "676 89 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 1 1 8" align = "Right VStretch">
-      <State name="normal" offset = "684 89 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 9 1 1" align = "Left Bottom">
-      <State name="normal" offset = "674 95 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 9 9 1" align = "HStretch Bottom">
-      <State name="normal" offset = "676 95 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 9 1 1" align = "Right Bottom">
-      <State name="normal" offset = "684 95 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "StretchRectangleLeft" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="Pointer" value = "size_left" />
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 18 1 1"/>
-      <State name="highlighted" offset = "678 6 1 1"/>
-      <State name="pushed" offset = "678 6 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "StretchRectangleRight" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="Pointer" value = "size_right" />
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 18 1 1"/>
-      <State name="highlighted" offset = "678 6 1 1"/>
-      <State name="pushed" offset = "678 6 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "StretchRectangleHorz" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="Pointer" value = "size_horz" />
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 18 1 1"/>
-      <State name="highlighted" offset = "678 6 1 1"/>
-      <State name="pushed" offset = "678 6 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "StretchRectangleVert" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="Pointer" value = "size_vert" />
-    <BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
-      <State name="normal" offset = "678 18 1 1"/>
-      <State name="highlighted" offset = "678 6 1 1"/>
-      <State name="pushed" offset = "678 6 1 1"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "StretchRectangle" size = "50 50" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="ToStick" value = "false" />
-    <Property key="MainMove" value = "true" />
-
-    <Child type="Widget" skin="MarkerGreen" offset = "0 0 50 1" align = "HStretch Top"/>
-    <Child type="Widget" skin="MarkerGreen" offset = "0 49 50 1" align = "HStretch Bottom"/>
-    <Child type="Widget" skin="MarkerGreen" offset = "0 1 1 48" align = "Left VStretch"/>
-    <Child type="Widget" skin="MarkerGreen" offset = "49 1 1 48" align = "Right VStretch"/>
-
-    <Child type="Button" skin="StretchRectangleLeft" offset = "1 1 7 7" align = "Left Top" name = "Action">
-      <Property key="Scale" value = "1 1 -1 -1"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleLeft" offset = "42 42 7 7" align = "Right Bottom" name = "Action">
-      <Property key="Scale" value = "0 0 1 1"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleRight" offset = "42 1 7 7" align = "Right Top" name = "Action">
-      <Property key="Scale" value = "0 1 1 -1"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleRight" offset = "1 42 7 7" align = "Left Bottom" name = "Action">
-      <Property key="Scale" value = "1 0 -1 1"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleHorz" offset = "1 22 7 7" align = "Left VCenter" name = "Action">
-      <Property key="Scale" value = "1 0 -1 0"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleHorz" offset = "42 22 7 7" align = "Right VCenter" name = "Action">
-      <Property key="Scale" value = "0 0 1 0"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleVert" offset = "22 1 7 7" align = "HCenter Top" name = "Action">
-      <Property key="Scale" value = "0 1 0 -1"/>
-    </Child>
-
-    <Child type="Button" skin="StretchRectangleVert" offset = "22 42 7 7" align = "HCenter Bottom" name = "Action">
-      <Property key="Scale" value = "0 0 0 1"/>
-    </Child>
-
-  </Skin>
-
-  <Skin name = "StatisticRect" size = "11 10" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Default" />
-    <Property key="TextColour" value = "1 1 1" />
-    
-    <BasisSkin type="SubSkin" offset = "0 0 1 1" align = "Left Top">
-      <State name="normal" offset = "674 74 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 0 9 1" align = "HStretch Top">
-      <State name="normal" offset = "676 74 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 1 1" align = "HStretch Top">
-      <State name="normal" offset = "684 74 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 1 1 8" align = "Left VStretch">
-      <State name="normal" offset = "674 77 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 1 9 8" align = "Stretch">
-      <State name="normal" offset = "676 77 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 1 1 8" align = "Right VStretch">
-      <State name="normal" offset = "684 77 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 9 1 1" align = "Left Bottom">
-      <State name="normal" offset = "674 83 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "1 9 9 1" align = "HStretch Bottom">
-      <State name="normal" offset = "676 83 1 1"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 9 1 1" align = "Right Bottom">
-      <State name="normal" offset = "684 83 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "4 2 3 6"  align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "ItemBoxV" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="AlignVert" value = "true" />
-    <Property key="DragLayer" value = "DragAndDrop" />
-
-    <Child type="VScroll" skin="VScroll" offset = "-9 3 15 3" align = "Right VStretch" name = "VScroll"/>
-    <Child type="Widget" skin="DefaultClient" offset = "3 3 -12 3" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ItemBoxH" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="AlignVert" value = "false" />
-    <Property key="DragLayer" value = "DragAndDrop" />
-
-    <Child type="HScroll" skin="HScroll" offset = "3 -9 3 15" align = "HStretch Bottom" name = "HScroll"/>
-    <Child type="Widget" skin="DefaultClient" offset = "3 3 3 -12" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "CheckBox" size = "100 21" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Left VCenter" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 21 21" align = "Left VCenter">
-      <State name="disabled" offset = "2 2 21 21"/>
-      <State name="normal" offset = "2 24 21 21"/>
-      <State name="highlighted" offset = "2 46 21 21"/>
-      <State name="pushed" offset = "2 68 21 21"/>
-      <State name="disabled_checked" offset = "2 90 21 21"/>
-      <State name="normal_checked" offset = "2 112 21 21"/>
-      <State name="highlighted_checked" offset = "2 134 21 21"/>
-      <State name="pushed_checked" offset = "2 156 21 21"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "24 0 76 21" align = "Stretch">
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "RadioBox" size = "100 19" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Left VCenter" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 19 19" align = "Left VCenter">
-      <State name="disabled" offset = "27 2 19 19"/>
-      <State name="normal" offset = "27 23 19 19"/>
-      <State name="highlighted" offset = "27 44 19 19"/>
-      <State name="pushed" offset = "27 65 19 19"/>
-      <State name="disabled_checked" offset = "27 86 19 19"/>
-      <State name="normal_checked" offset = "27 107 19 19"/>
-      <State name="highlighted_checked" offset = "27 128 19 19"/>
-      <State name="pushed_checked" offset = "27 149 19 19"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "24 0 76 19" align = "Stretch">
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonMinusPlus" size = "18 18" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 18 18" align = "Stretch">
-      <State name="disabled" offset = "49 2 18 18"/>
-      <State name="normal" offset = "49 23 18 18"/>
-      <State name="highlighted" offset = "49 44 18 18"/>
-      <State name="pushed" offset = "49 65 18 18"/>
-      <State name="disabled_checked" offset = "49 84 18 18"/>
-      <State name="normal_checked" offset = "49 107 18 18"/>
-      <State name="highlighted_checked" offset = "49 128 18 18"/>
-      <State name="pushed_checked" offset = "49 149 18 18"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonX" size = "18 17" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 18 17" align = "Stretch">
-      <State name="disabled" offset = "72 2 18 17"/>
-      <State name="normal" offset = "72 21 18 17"/>
-      <State name="highlighted" offset = "72 40 18 17"/>
-      <State name="normal_checked" offset = "72 59 18 17"/>
-      <State name="pushed" offset = "72 78 18 17"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonV" size = "17 15" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 17 15" align = "Stretch">
-      <State name="disabled" offset = "72 98 17 15"/>
-      <State name="normal" offset = "72 114 17 15"/>
-      <State name="highlighted" offset = "72 130 17 15"/>
-      <State name="normal_checked" offset = "72 146 17 15"/>
-      <State name="pushed" offset = "72 162 17 15"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonDown" size = "14 12" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 14 12" align = "Stretch">
-      <State name="disabled" offset = "95 2 14 12"/>
-      <State name="normal" offset = "95 15 14 12"/>
-      <State name="highlighted" offset = "95 28 14 12"/>
-      <State name="normal_checked" offset = "95 41 14 12"/>
-      <State name="pushed" offset = "95 54 14 12"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonUp" size = "14 12" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 14 12" align = "Stretch">
-      <State name="disabled" offset = "95 68 14 12"/>
-      <State name="normal" offset = "95 82 14 12"/>
-      <State name="highlighted" offset = "95 96 14 12"/>
-      <State name="normal_checked" offset = "95 110 14 12"/>
-      <State name="pushed" offset = "95 124 14 12"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonLeft" size = "12 14" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 12 14" align = "Stretch">
-      <State name="disabled" offset = "112 2 12 14"/>
-      <State name="normal" offset = "112 18 12 14"/>
-      <State name="highlighted" offset = "112 34 12 14"/>
-      <State name="normal_checked" offset = "112 50 12 14"/>
-      <State name="pushed" offset = "112 66 12 14"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonRight" size = "12 14" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 12 14" align = "Stretch">
-      <State name="disabled" offset = "112 84 12 14"/>
-      <State name="normal" offset = "112 100 12 14"/>
-      <State name="highlighted" offset = "112 116 12 14"/>
-      <State name="normal_checked" offset = "112 132 12 14"/>
-      <State name="pushed" offset = "112 148 12 14"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonSmall" size = "29 21" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "HCenter VCenter" />
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 21" align = "Left VStretch">
-      <State name="disabled" offset = "169 2 10 21"/>
-      <State name="normal" offset = "169 24 10 21"/>
-      <State name="highlighted" offset = "169 46 10 21"/>
-      <State name="normal_checked" offset = "169 68 10 21"/>
-      <State name="pushed" offset = "169 90 10 21"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 21" align = "HStretch VStretch">
-      <State name="disabled" offset = "179 2 7 21"/>
-      <State name="normal" offset = "179 24 7 21"/>
-      <State name="highlighted" offset = "179 46 7 21"/>
-      <State name="normal_checked" offset = "179 68 7 21"/>
-      <State name="pushed" offset = "179 90 7 21"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 12 21" align = "Right VStretch">
-      <State name="disabled" offset = "186 2 12 21"/>
-      <State name="normal" offset = "186 24 12 21"/>
-      <State name="highlighted" offset = "186 46 12 21"/>
-      <State name="normal_checked" offset = "186 68 12 21"/>
-      <State name="pushed" offset = "186 90 12 21"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "1 1 25 17" align = "Stretch">
-      <State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
-      <State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "Button" size = "29 26" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "HCenter VCenter" />
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
-      <State name="disabled" offset = "202 2 10 26"/>
-      <State name="normal" offset = "202 29 10 26"/>
-      <State name="highlighted" offset = "202 56 10 26"/>
-      <State name="normal_checked" offset = "202 83 10 26"/>
-      <State name="pushed" offset = "202 110 10 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 26" align = "HStretch VStretch">
-      <State name="disabled" offset = "212 2 7 26"/>
-      <State name="normal" offset = "212 29 7 26"/>
-      <State name="highlighted" offset = "212 56 7 26"/>
-      <State name="normal_checked" offset = "212 83 7 26"/>
-      <State name="pushed" offset = "212 110 7 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 12 26" align = "Right VStretch">
-      <State name="disabled" offset = "219 2 12 26"/>
-      <State name="normal" offset = "219 29 12 26"/>
-      <State name="highlighted" offset = "219 56 12 26"/>
-      <State name="normal_checked" offset = "219 83 12 26"/>
-      <State name="pushed" offset = "219 110 12 26"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "1 1 25 22" align = "Stretch">
-      <State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
-      <State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
-    </BasisSkin>
-  </Skin>
-
-
-  <Skin name = "EditClientSimple" size = "32 32">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Default" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-    <BasisSkin type="EditText" offset = "0 0 32 32" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "WordWrapSimple" size = "32 32" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="WordWrap" value = "true" />
-    <Child type="Widget" skin="EditClientSimple" offset = "0 0 32 32" align = "Stretch" name = "Client"/>
-  </Skin>
-
-  <Skin name = "WordWrap" size = "32 32" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="WordWrap" value = "true" />
-    <Child type="Widget" skin="EditClientSimple" offset = "0 0 16 32" align = "Stretch" name = "Client"/>
-    <Child type="VScroll" skin="VScroll" offset = "17 0 15 32" align = "Right VStretch" name = "VScroll"/>
-  </Skin>
-
-  <Skin name = "EditClient" size = "10 10">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Left VCenter" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}" />
-    <Property key="Pointer" value = "beam" />
-    <BasisSkin type="EditText" offset = "0 0 10 10" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "EditStretch" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
-
-    <Child type="Widget" skin="EditClient" offset = "2 3 7 3" align = "Stretch" name = "Client"/>
-    <Child type="VScroll" skin="VScroll" offset = "10 2 15 5" align = "Right VStretch" name = "VScroll"/>
-    <Child type="HScroll" skin="HScroll" offset = "2 7 8 15" align = "HStretch Bottom" name = "HScroll"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 8" align = "Left Top">
-      <State name="disabled" offset = "235 2 10 8"/>
-      <State name="normal" offset = "235 29 10 8"/>
-      <State name="highlighted" offset = "235 56 10 8"/>
-      <State name="normal_checked" offset = "235 83 10 8"/>
-      <State name="pushed" offset = "235 110 10 8"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 8" align = "HStretch Top">
-      <State name="disabled" offset = "245 2 7 8"/>
-      <State name="normal" offset = "245 29 7 8"/>
-      <State name="highlighted" offset = "245 56 7 8"/>
-      <State name="normal_checked" offset = "245 83 7 8"/>
-      <State name="pushed" offset = "245 110 7 8"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 12 8" align = "Right Top">
-      <State name="disabled" offset = "252 2 12 8"/>
-      <State name="normal" offset = "252 29 12 8"/>
-      <State name="highlighted" offset = "252 56 12 8"/>
-      <State name="normal_checked" offset = "252 83 12 8"/>
-      <State name="pushed" offset = "252 110 12 8"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 8 10 8" align = "Left VStretch">
-      <State name="disabled" offset = "235 10 10 8"/>
-      <State name="normal" offset = "235 37 10 8"/>
-      <State name="highlighted" offset = "235 64 10 8"/>
-      <State name="normal_checked" offset = "235 91 10 8"/>
-      <State name="pushed" offset = "235 118 10 8"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 8 7 8" align = "HStretch VStretch">
-      <State name="disabled" offset = "245 10 7 8"/>
-      <State name="normal" offset = "245 37 7 8"/>
-      <State name="highlighted" offset = "245 64 7 8"/>
-      <State name="normal_checked" offset = "245 91 7 8"/>
-      <State name="pushed" offset = "245 118 7 8"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 8 12 8" align = "Right VStretch">
-      <State name="disabled" offset = "252 10 12 8"/>
-      <State name="normal" offset = "252 37 12 8"/>
-      <State name="highlighted" offset = "252 64 12 8"/>
-      <State name="normal_checked" offset = "252 91 12 8"/>
-      <State name="pushed" offset = "252 118 12 8"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 16 10 10" align = "Left Bottom">
-      <State name="disabled" offset = "235 18 10 10"/>
-      <State name="normal" offset = "235 45 10 10"/>
-      <State name="highlighted" offset = "235 72 10 10"/>
-      <State name="normal_checked" offset = "235 99 10 10"/>
-      <State name="pushed" offset = "235 126 10 10"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 16 7 10" align = "HStretch Bottom">
-      <State name="disabled" offset = "245 18 7 10"/>
-      <State name="normal" offset = "245 45 7 10"/>
-      <State name="highlighted" offset = "245 72 7 10"/>
-      <State name="normal_checked" offset = "245 99 7 10"/>
-      <State name="pushed" offset = "245 126 7 10"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 16 12 10" align = "Right Bottom">
-      <State name="disabled" offset = "252 18 12 10"/>
-      <State name="normal" offset = "252 45 12 10"/>
-      <State name="highlighted" offset = "252 72 12 10"/>
-      <State name="normal_checked" offset = "252 99 12 10"/>
-      <State name="pushed" offset = "252 126 12 10"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "Edit" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
-    <Child type="Widget" skin="EditClient" offset = "2 1 23 22" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
-      <State name="disabled" offset = "235 2 10 26"/>
-      <State name="normal" offset = "235 29 10 26"/>
-      <State name="highlighted" offset = "235 56 10 26"/>
-      <State name="normal_checked" offset = "235 83 10 26"/>
-      <State name="pushed" offset = "235 110 10 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 26" align = "Stretch">
-      <State name="disabled" offset = "245 2 7 26"/>
-      <State name="normal" offset = "245 29 7 26"/>
-      <State name="highlighted" offset = "245 56 7 26"/>
-      <State name="normal_checked" offset = "245 83 7 26"/>
-      <State name="pushed" offset = "245 110 7 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 12 26" align = "Right VStretch">
-      <State name="disabled" offset = "252 2 12 26"/>
-      <State name="normal" offset = "252 29 12 26"/>
-      <State name="highlighted" offset = "252 56 12 26"/>
-      <State name="normal_checked" offset = "252 83 12 26"/>
-      <State name="pushed" offset = "252 110 12 26"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "EditEmpty" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
-    <Child type="Widget" skin="EditClient" offset = "2 1 23 22" align = "Stretch" name = "Client"/>
-  </Skin>
-
-  <Skin name = "ComboBox" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="HeightList" value = "250" />
-    <Property key="ListSmoothShow" value = "true" />
-
-    <Child type="Widget" skin="EditClient" offset = "2 1 5 22" align = "Stretch" name = "Client"/>
-    <Child type="Button" skin="ButtonDown" offset = "9 4 14 12" align = "Right VCenter" name = "Button"/>
-    <Child type="List" style="Popup" skin="List" offset = "0 0 0 0" align = "Default" layer="Popup" name = "List"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
-      <State name="disabled" offset = "235 2 10 26"/>
-      <State name="normal" offset = "235 29 10 26"/>
-      <State name="highlighted" offset = "235 56 10 26"/>
-      <State name="normal_checked" offset = "235 83 10 26"/>
-      <State name="pushed" offset = "235 110 10 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 26" align = "Stretch">
-      <State name="disabled" offset = "245 2 7 26"/>
-      <State name="normal" offset = "245 29 7 26"/>
-      <State name="highlighted" offset = "245 56 7 26"/>
-      <State name="normal_checked" offset = "245 83 7 26"/>
-      <State name="pushed" offset = "245 110 7 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 12 26" align = "Right VStretch">
-      <State name="disabled" offset = "252 2 12 26"/>
-      <State name="normal" offset = "252 29 12 26"/>
-      <State name="highlighted" offset = "252 56 12 26"/>
-      <State name="normal_checked" offset = "252 83 12 26"/>
-      <State name="pushed" offset = "252 110 12 26"/>
-    </BasisSkin>
-  </Skin>
-
-
-  <Skin name = "WindowCaption" size = "68 28" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Center" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 15 28" align = "Left VStretch">
-      <State name="normal" offset = "356 36 15 28"/>
-      <State name="highlighted" offset = "356 70 15 28"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "15 0 36 28" align = "Stretch">
-      <State name="normal" offset = "371 36 36 28"/>
-      <State name="highlighted" offset = "371 70 36 28"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "51 0 17 28" align = "Right VStretch">
-      <State name="normal" offset = "407 36 17 28"/>
-      <State name="highlighted" offset = "407 70 17 28"/>
-    </BasisSkin>
-    <BasisSkin type="SimpleText" offset = "10 0 46 24" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "WindowCaptionDisable" size = "68 28" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Center" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 15 28" align = "Left VStretch">
-      <State name="normal" offset = "356 2 15 28"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "15 0 36 28" align = "Stretch">
-      <State name="normal" offset = "371 2 36 28"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "51 0 17 28" align = "Right VStretch">
-      <State name="normal" offset = "407 2 17 28"/>
-    </BasisSkin>
-    <BasisSkin type="SimpleText" offset = "5 4 56 24" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "WindowCaptionSmall" size = "40 28" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Center" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 15 28" align = "Left VStretch">
-      <State name="normal" offset = "356 104 15 28"/>
-      <State name="highlighted" offset = "356 138 15 28"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "15 0 13 28" align = "Stretch">
-      <State name="normal" offset = "371 104 13 28"/>
-      <State name="highlighted" offset = "371 138 13 28"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "28 0 12 28" align = "Right VStretch">
-      <State name="normal" offset = "384 104 12 28"/>
-      <State name="highlighted" offset = "384 138 12 28"/>
-    </BasisSkin>
-    <BasisSkin type="SimpleText" offset = "10 0 24 24" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "WindowResizeRight" size = "9 9" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="Pointer" value = "size_left" />
-    <BasisSkin type="MainSkin" offset = "0 0 9 9" align = "Stretch">
-      <State name="normal" offset = "369 185 9 9"/>
-      <State name="highlighted" offset = "369 172 9 9"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "WindowResizeLeft" size = "9 9" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="Pointer" value = "size_right" />
-    <BasisSkin type="MainSkin" offset = "0 0 9 9" align = "Stretch">
-      <State name="normal" offset = "356 185 9 9"/>
-      <State name="highlighted" offset = "356 172 9 9"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "Window" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="ToStick" value = "true" />
-
-    <Child type="Button" skin="WindowCaptionDisable" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
-      <Property key="Scale" value = "1 1 0 0"/>
-    </Child>
-
-    <Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
-      <State name="normal" offset = "384 173 4 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
-      <State name="normal" offset = "390 173 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
-      <State name="normal" offset = "401 173 6 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
-      <State name="normal" offset = "384 176 4 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
-      <State name="normal" offset = "401 176 6 12"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
-      <State name="normal" offset = "384 188 4 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
-      <State name="normal" offset = "390 188 3 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
-      <State name="normal" offset = "401 188 6 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "WindowC" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="ToStick" value = "true" />
-
-    <Child type="Button" skin="WindowCaption" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
-      <Property key="Scale" value = "1 1 0 0"/>
-    </Child>
-
-    <Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
-      <State name="normal" offset = "384 173 4 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
-      <State name="normal" offset = "390 173 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
-      <State name="normal" offset = "401 173 6 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
-      <State name="normal" offset = "384 176 4 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
-      <State name="normal" offset = "401 176 6 12"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
-      <State name="normal" offset = "384 188 4 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
-      <State name="normal" offset = "390 188 3 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
-      <State name="normal" offset = "401 188 6 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "WindowCS" size = "68 49" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="ToStick" value = "true" />
-
-    <Child type="Button" skin="WindowCaption" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
-      <Property key="Scale" value = "1 1 0 0"/>
-    </Child>
-
-    <Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
-
-    <Child type="Button" skin="WindowResizeRight" offset = "57 38 9 9" align = "Right Bottom" name = "Action">
-      <Property key="Scale" value = "0 0 1 1"/>
-    </Child>
-    <Child type="Button" skin="WindowResizeLeft" offset = "0 38 9 9" align = "Left Bottom" name = "Action">
-      <Property key="Scale" value = "1 0 -1 1"/>
-    </Child>
-
-    <BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
-      <State name="normal" offset = "384 173 4 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
-      <State name="normal" offset = "390 173 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
-      <State name="normal" offset = "401 173 6 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
-      <State name="normal" offset = "384 176 4 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
-      <State name="normal" offset = "401 176 6 12"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
-      <State name="normal" offset = "384 188 4 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
-      <State name="normal" offset = "390 188 3 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
-      <State name="normal" offset = "401 188 6 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "WindowCSX" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="ToStick" value = "true" />
-
-    <Child type="Button" skin="WindowCaptionSmall" offset = "0 0 40 28" align = "HStretch Top" name = "Caption">
-      <Property key="Scale" value = "1 1 0 0"/>
-    </Child>
-
-    <Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
-
-    <Child type="Button" skin="WindowResizeRight" offset = "57 38 9 9" align = "Right Bottom" name = "Action">
-      <Property key="Scale" value = "0 0 1 1"/>
-    </Child>
-    <Child type="Button" skin="WindowResizeLeft" offset = "0 38 9 9" align = "Left Bottom" name = "Action">
-      <Property key="Scale" value = "1 0 -1 1"/>
-    </Child>
-
-    <Child type="Button" skin="ButtonX" offset = "43 6 18 17" align = "Right Top" name = "Button">
-      <Property key="Event" value = "close"/>
-    </Child>
-
-    <BasisSkin type="SubSkin" offset = "40 0 28 28" align = "Right Top">
-      <State name="normal" offset = "396 104 28 28"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
-      <State name="normal" offset = "384 173 4 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
-      <State name="normal" offset = "390 173 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
-      <State name="normal" offset = "401 173 6 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
-      <State name="normal" offset = "384 176 4 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
-      <State name="normal" offset = "401 176 6 12"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
-      <State name="normal" offset = "384 188 4 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
-      <State name="normal" offset = "390 188 3 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
-      <State name="normal" offset = "401 188 6 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-
-  <Skin name = "MessageClient" size = "16 16">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Left VCenter" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SimpleText" offset = "0 0 16 16"  align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "MessageIcon" size = "50 50">
-    <Property key="ImageResource" value = "pic_CoreMessageIcon" />
-    <Property key="ImageGroup" value = "Icons" />
-
-    <BasisSkin type="MainSkin" offset = "0 0 50 50" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "Message" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="ToStick" value = "true" />
-    <Property key="ButtonSkin" value = "Button" />
-    <Property key="ButtonType" value = "Button" />
-    <Property key="ButtonSize" value = "100 26" />
-    <Property key="ButtonOffset" value = "20 43" />
-    <Property key="DefaultLayer" value = "Info" />
-    <Property key="FadeSkin" value = "MarkerBlack" />
-    <Property key="FadeLayer" value = "FadeMiddle" />
-
-    <Child type="Widget" skin="MessageClient" offset = "10 35 32 -36" align = "Stretch" name = "Text"/>
-    <Child type="StaticImage" skin="MessageIcon" offset = "6 34 50 50" align = "Default" name = "Icon"/>
-
-    <Child type="Button" skin="WindowCaption" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
-      <Property key="Scale" value = "1 1 0 0"/>
-    </Child>
-
-    <BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
-      <State name="normal" offset = "384 173 4 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
-      <State name="normal" offset = "390 173 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
-      <State name="normal" offset = "401 173 6 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
-      <State name="normal" offset = "384 176 4 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 31 58 12" align = "Stretch">
-      <State name="normal" offset = "432 5 65 57"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
-      <State name="normal" offset = "401 176 6 12"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
-      <State name="normal" offset = "384 188 4 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
-      <State name="normal" offset = "390 188 3 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
-      <State name="normal" offset = "401 188 6 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  
-  <Skin name = "Panel" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 3 3 3" align = "Stretch">
-      <State name="normal" offset = "432 5 65 57"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "PanelSmall" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 95 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 95 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 95 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 100 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 3 3 3" align = "Stretch">
-      <State name="normal" offset = "432 5 65 57"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 100 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 112 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 112 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 112 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-
-  <Skin name = "ScrollView" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-
-    <Child type="VScroll" skin="VScroll" offset = "-9 3 15 -12" align = "Right VStretch" name = "VScroll"/>
-    <Child type="HScroll" skin="HScroll" offset = "3 -9 -12 15" align = "HStretch Bottom" name = "HScroll"/>
-    <Child type="Widget" skin="Default" offset = "3 3 -12 -12" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 3 3 3" align = "Stretch">
-      <State name="normal" offset = "432 5 65 57"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ScrollViewEmpty" size = "30 30" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-
-    <Child type="VScroll" skin="VScroll" offset = "15 0 15 15" align = "Right VStretch" name = "VScroll"/>
-    <Child type="HScroll" skin="HScroll" offset = "0 15 15 15" align = "HStretch Bottom" name = "HScroll"/>
-    <Child type="Widget" skin="Default" offset = "0 0 15 15" align = "Stretch" name = "Client"/>
-  </Skin>
-
-  
-  <Skin name = "TabButton" size = "51 26" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Center" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 11 26" align = "Left VStretch">
-      <State name="normal" offset = "597 2 11 26"/>
-      <State name="highlighted" offset = "597 33 11 26"/>
-      <State name="normal_checked" offset = "545 2 11 26"/>
-      <State name="pushed" offset = "545 33 11 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "11 0 26 26" align = "Stretch">
-      <State name="normal" offset = "608 2 26 26"/>
-      <State name="highlighted" offset = "608 33 26 26"/>
-      <State name="normal_checked" offset = "556 2 26 26"/>
-      <State name="pushed" offset = "556 33 26 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "37 0 14 26" align = "Right VStretch">
-      <State name="normal" offset = "634 2 14 26"/>
-      <State name="highlighted" offset = "634 33 14 26"/>
-      <State name="normal_checked" offset = "582 2 14 26"/>
-      <State name="pushed" offset = "582 33 14 26"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "10 0 28 26" align = "Stretch">
-      <State name="normal_checked" shift="true"/>
-      <State name="pushed" shift="true"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "TabEmpty" size = "2 26" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 2 26" align = "Stretch">
-      <State name="normal" offset = "650 2 2 26"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "TabPatch" size = "17 5" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 17 5" align = "Stretch">
-      <State name="normal" offset = "538 64 17 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "Tab" size = "43 60" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="OffsetBar" value = "17" />
-    <Property key="ButtonSkin" value = "TabButton" />
-    <Property key="EmptyBarSkin" value = "TabEmpty" />
-
-    <Child type="Widget" skin="Default" offset = "4 26 34 28" align = "Stretch" name = "Sheet"/>
-    <Child type="Widget" skin="Default" offset = "8 0 22 26" align = "HStretch Top" name = "Bar"/>
-    <Child type="Button" skin="ButtonLeft" offset = "13 4 12 14" align = "Right Top" name = "Left"/>
-    <Child type="Button" skin="ButtonRight" offset = "29 4 12 14" align = "Right Top" name = "Right"/>
-    <Child type="Widget" skin="TabPatch" offset = "13 21 17 5" align = "Right Top" name = "ShowPatch"/>
-
-
-    <BasisSkin type="SubSkin" offset = "0 21 8 5" align = "Left Top">
-      <State name="normal" offset = "524 64 8 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "30 21 13 5" align = "Right Top">
-      <State name="normal" offset = "554 64 13 5"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 26 4 29" align = "Left VStretch">
-      <State name="normal" offset = "524 69 4 29"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 26 33 29" align = "Stretch">
-      <State name="normal" offset = "528 69 33 29"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "37 26 6 29" align = "Right VStretch">
-      <State name="normal" offset = "561 69 6 29"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 55 4 5" align = "Left Bottom">
-      <State name="normal" offset = "524 98 4 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "4 55 33 5" align = "HStretch Bottom">
-      <State name="normal" offset = "528 98 33 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "37 55 8 5" align = "Right Bottom">
-      <State name="normal" offset = "561 98 8 5"/>
-    </BasisSkin>
-
-  </Skin>
-
-
-  <Skin name = "PopupMenuLine" size = "30 5" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Left VCenter" />
-
-    <Child type="StaticImage" skin="PopupMenuLineIcon" offset = "18 0 12 15" align = "Right VCenter" name = "Image"/>
-
-    <BasisSkin type="MainSkin" offset = "0 0 30 5">
-      <State name="normal" offset = "343 115 1 1"/>
-      <State name="highlighted" offset = "306 115 1 1"/>
-      <State name="normal_checked" offset = "318 115 1 1"/>
-      <State name="pushed" offset = "330 115 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "14 0 2 5"  align = "Stretch">
-      <State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
-      <State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "PopupMenuSeparator" size = "4 4" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "2 1 0 2" align = "HStretch VCenter">
-      <State name="normal" offset = "304 124 2 2"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "PopupMenuLineIcon" size = "12 14" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedMouse" value = "false" />
-    <Property key="ImageResource" value = "pic_CorePopupMenu" />
-    <Property key="ImageGroup" value = "Icons" />
-
-    <BasisSkin type="MainSkin" offset = "0 0 12 14" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "PopupMenu" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-    <Property key="SubmenuImageSize" value = "12" />
-    <Property key="SubMenuLayer" value = "Popup" />
-    <Property key="SubMenuSkin" value = "PopupMenu" />
-
-    <Property key="SkinLine" value = "PopupMenuLine" />
-    <Property key="HeightLine" value = "20" />
-
-    <Property key="SeparatorSkin" value = "PopupMenuSeparator" />
-    <Property key="SeparatorHeight" value = "10" />
-    <Property key="AlignVert" value = "true" />
-
-    <Child type="Widget" skin="DefaultClient" offset = "3 3 3 3" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MenuBarButton" size = "27 22" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Center" />
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 22" align = "Left VStretch">
-      <State name="disabled" offset = "268 31 0 0"/>
-      <State name="normal" offset = "268 31 0 0"/>
-      <State name="highlighted" offset = "268 49 10 22"/>
-      <State name="normal_checked" offset = "268 72 10 22"/>
-      <State name="pushed" offset = "268 96 10 22"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 22" align = "Stretch">
-      <State name="disabled" offset = "278 31 0 0"/>
-      <State name="normal" offset = "278 31 0 0"/>
-      <State name="highlighted" offset = "278 49 7 22"/>
-      <State name="normal_checked" offset = "278 72 7 22"/>
-      <State name="pushed" offset = "278 96 7 22"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 10 22" align = "Right VStretch">
-      <State name="disabled" offset = "285 31 0 0"/>
-      <State name="normal" offset = "285 31 0 0"/>
-      <State name="highlighted" offset = "285 49 10 22"/>
-      <State name="normal_checked" offset = "285 72 10 22"/>
-      <State name="pushed" offset = "285 96 10 22"/>
-    </BasisSkin>
-    <BasisSkin type="SimpleText" offset = "6 0 15 22" align = "Stretch">
-      <State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
-      <State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MenuBar" size = "27 26" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-    <Property key="SkinLine" value = "MenuBarButton" />
-    <Property key="DistanceButton" value = "6" />
-    <Property key="SubMenuSkin" value = "PopupMenu" />
-    <Property key="SubMenuLayer" value = "Popup" />
-    <Property key="HeightLine" value = "22" />
-
-    <Property key="AlignVert" value = "false" />
-
-    <Child type="Widget" skin="Default" offset = "6 1 15 22" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
-      <State name="normal" offset = "202 29 10 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 26" align = "HStretch VStretch">
-      <State name="normal" offset = "212 29 7 26"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 10 26" align = "Right VStretch">
-      <State name="normal" offset = "219 29 10 26"/>
-    </BasisSkin>
-  </Skin>
-
-
-  <Skin name = "ListLine" size = "5 5" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Left VCenter" />
-
-    <Child type="StaticImage" skin="PopupMenuLineIcon" offset = "-10 0 12 15" align = "Right VCenter" name = "Image"/>
-
-    <BasisSkin type="MainSkin" offset = "0 0 5 5">
-      <State name="normal" offset = "343 115 1 1"/>
-      <State name="highlighted" offset = "306 115 1 1"/>
-      <State name="normal_checked" offset = "318 115 1 1"/>
-      <State name="pushed" offset = "330 115 1 1"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "2 0 1 5"  align = "Stretch">
-      <State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
-      <State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
-      <State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "List" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-    <Property key="SkinLine" value = "ListLine" />
-    <Property key="HeightLine" value = "20" />
-
-    <Child type="VScroll" skin="VScroll" offset = "-9 3 15 3" align = "Right VStretch" name = "VScroll"/>
-    <Child type="Widget" skin="DefaultClient" offset = "3 3 -12 3" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MultiSubList" size = "9 9" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-    <Property key="SkinLine" value = "ListLine" />
-    <Property key="HeightLine" value = "20" />
-
-    <Child type="VScroll" skin="VScroll" offset = "-7 0 16 9" align = "Right VStretch" name = "VScroll"/>
-    <Child type="Widget" skin="Default" offset = "0 0 -7 9" align = "Stretch" name = "Client"/>
-
-  </Skin>
-
-  <Skin name = "MultiListButtonIcon" size = "14 10" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedMouse" value = "false" />
-    <Property key="ImageResource" value = "pic_CoreMultiListIcon" />
-    <Property key="ImageGroup" value = "Icons" />
-
-    <BasisSkin type="MainSkin" offset = "0 0 14 10" align = "Stretch"/>
-  </Skin>
-
-  <Skin name = "MultiListButton" size = "29 21" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "HCenter VCenter" />
-
-    <Child type="StaticImage" skin="MultiListButtonIcon" offset = "8 0 14 10" align = "Right VCenter" name = "Image"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 21" align = "Left VStretch">
-      <State name="disabled" offset = "169 2 10 21"/>
-      <State name="normal" offset = "169 24 10 21"/>
-      <State name="highlighted" offset = "169 46 10 21"/>
-      <State name="normal_checked" offset = "169 68 10 21"/>
-      <State name="pushed" offset = "169 90 10 21"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 7 21" align = "HStretch VStretch">
-      <State name="disabled" offset = "179 2 7 21"/>
-      <State name="normal" offset = "179 24 7 21"/>
-      <State name="highlighted" offset = "179 46 7 21"/>
-      <State name="normal_checked" offset = "179 68 7 21"/>
-      <State name="pushed" offset = "179 90 7 21"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "17 0 12 21" align = "Right VStretch">
-      <State name="disabled" offset = "186 2 12 21"/>
-      <State name="normal" offset = "186 24 12 21"/>
-      <State name="highlighted" offset = "186 46 12 21"/>
-      <State name="normal_checked" offset = "186 68 12 21"/>
-      <State name="pushed" offset = "186 90 12 21"/>
-    </BasisSkin>
-
-    <BasisSkin type="SimpleText" offset = "1 1 25 17" align = "Stretch">
-      <State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
-      <State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
-      <State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "MultiList" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="NeedKey" value = "true" />
-    <Property key="SkinButton" value = "MultiListButton" />
-    <Property key="HeightButton" value = "21" />
-    <Property key="SkinList" value = "MultiSubList" />
-
-    <Child type="Widget" skin="DefaultClient" offset = "3 3 3 3" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
-      <State name="normal" offset = "429 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
-      <State name="normal" offset = "435 70 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
-      <State name="normal" offset = "447 70 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
-      <State name="normal" offset = "429 76 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
-      <State name="normal" offset = "447 76 5 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
-      <State name="normal" offset = "429 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
-      <State name="normal" offset = "435 87 3 5"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
-      <State name="normal" offset = "447 87 5 5"/>
-    </BasisSkin>
-  </Skin>
-
-  
-  <Skin name = "VScrollTrackSlider" size = "14 7" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 14 7" align = "Stretch">
-      <State name="disabled" offset = "128 2 14 7"/>
-      <State name="normal" offset = "128 10 14 7"/>
-      <State name="highlighted" offset = "128 18 14 7"/>
-      <State name="normal_checked" offset = "128 26 14 7"/>
-      <State name="pushed" offset = "128 34 14 7"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "VScrollTrack" size = "14 19" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="SubSkin" offset = "0 0 14 7" align = "HStretch Top">
-      <State name="disabled" offset = "128 45 14 7"/>
-      <State name="normal" offset = "128 65 14 7"/>
-      <State name="highlighted" offset = "128 85 14 7"/>
-      <State name="normal_checked" offset = "128 105 14 7"/>
-      <State name="pushed" offset = "128 125 14 7"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "0 7 14 3" align = "HStretch VStretch">
-      <State name="disabled" offset = "128 52 14 3"/>
-      <State name="normal" offset = "128 72 14 3"/>
-      <State name="highlighted" offset = "128 92 14 3"/>
-      <State name="normal_checked" offset = "128 112 14 3"/>
-      <State name="pushed" offset = "128 132 14 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "0 10 14 9" align = "HStretch Bottom">
-      <State name="disabled" offset = "128 55 14 9"/>
-      <State name="normal" offset = "128 75 14 9"/>
-      <State name="highlighted" offset = "128 95 14 9"/>
-      <State name="normal_checked" offset = "128 115 14 9"/>
-      <State name="pushed" offset = "128 135 14 9"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "VScrollTopPart" size = "15 6" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "0 0 15 6" align = "Stretch">
-      <State name="normal" offset = "0 0 0 0"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "VScrollBottomPart" size = "15 6" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "0 0 15 6" align = "Stretch">
-      <State name="normal" offset = "0 0 0 0"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "VScroll" size = "15 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="TrackRangeMargins" value = "14 12" />
-    <Property key="MinTrackSize" value = "19" />
-
-    <Child type="Button" skin="VScrollTopPart" offset = "0 15 15 6" align = "Stretch" name = "FirstPart"/>
-    <Child type="Button" skin="VScrollBottomPart" offset = "0 21 15 6" align = "HStretch Bottom" name = "SecondPart"/>
-
-    <Child type="Button" skin="ButtonUp" offset = "1 2 14 12" align = "HStretch Top" name = "Start"/>
-    <Child type="Button" skin="ButtonDown" offset = "1 37 14 12" align = "HStretch Bottom" name = "End"/>
-    <Child type="Button" skin="VScrollTrack" offset = "1 18 14 19" align = "HStretch Top" name = "Track"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 15 6" align = "HStretch Top">
-      <State name="normal" offset = "301 55 15 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "0 6 15 37" align = "Stretch">
-      <State name="normal" offset = "301 61 15 37"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "0 43 15 6" align = "HStretch Bottom">
-      <State name="normal" offset = "301 98 15 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "HScrollTrackSlider" size = "7 14" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="MainSkin" offset = "0 0 7 14" align = "Stretch">
-      <State name="disabled" offset = "146 2 7 14"/>
-      <State name="normal" offset = "146 17 7 14"/>
-      <State name="highlighted" offset = "146 32 7 14"/>
-      <State name="normal_checked" offset = "146 47 7 14"/>
-      <State name="pushed" offset = "146 62 7 14"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "HScrollTrack" size = "19 14" texture = "#{MyGUI_Theme_Texture}">
-    <BasisSkin type="SubSkin" offset = "0 0 7 14" align = "Left VStretch">
-      <State name="disabled" offset = "146 80 7 14"/>
-      <State name="normal" offset = "146 95 7 14"/>
-      <State name="highlighted" offset = "146 110 7 14"/>
-      <State name="normal_checked" offset = "146 125 7 14"/>
-      <State name="pushed" offset = "146 140 7 14"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "7 0 3 14" align = "HStretch VStretch">
-      <State name="disabled" offset = "153 80 3 14"/>
-      <State name="normal" offset = "153 95 3 14"/>
-      <State name="highlighted" offset = "153 110 3 14"/>
-      <State name="normal_checked" offset = "153 125 3 14"/>
-      <State name="pushed" offset = "153 140 3 14"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 9 14" align = "Right VStretch">
-      <State name="disabled" offset = "156 80 9 14"/>
-      <State name="normal" offset = "156 95 9 14"/>
-      <State name="highlighted" offset = "156 110 9 14"/>
-      <State name="normal_checked" offset = "156 125 9 14"/>
-      <State name="pushed" offset = "156 140 9 14"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "HScrollLeftPart" size = "6 15" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Stretch">
-      <State name="normal" offset = "0 0 0 0"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "HScrollRightPart" size = "6 15" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Stretch">
-      <State name="normal" offset = "0 0 0 0"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "HScroll" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="TrackRangeMargins" value = "14 13" />
-    <Property key="MinTrackSize" value = "19" />
-
-    <Child type="Button" skin="HScrollLeftPart" offset = "15 0 6 15" align = "Stretch" name = "FirstPart"/>
-    <Child type="Button" skin="HScrollRightPart" offset = "21 0 6 15" align = "Right VStretch" name = "SecondPart"/>
-
-    <Child type="Button" skin="ButtonLeft" offset = "2 1 12 14" align = "Left VStretch" name = "Start"/>
-    <Child type="Button" skin="ButtonRight" offset = "36 1 12 14" align = "Right VStretch" name = "End"/>
-    <Child type="Button" skin="HScrollTrack" offset = "18 1 19 14" align = "Left VStretch" name = "Track"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
-      <State name="normal" offset = "301 2 6 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
-      <State name="normal" offset = "307 2 37 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
-      <State name="normal" offset = "344 2 6 15"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "VSlider" size = "15 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="TrackRangeMargins" value = "2 1" />
-    <Property key="MinTrackSize" value = "7" />
-    <Property key="MoveToClick" value = "true"/>
-
-    <Child type="Button" skin="VScrollTopPart" offset = "0 0 15 49" align = "Stretch" name = "FirstPart"/>
-    <Child type="Button" skin="VScrollBottomPart" offset = "0 0 15 49" align = "HStretch Bottom" name = "SecondPart"/>
-
-    <Child type="Button" skin="VScrollTrackSlider" offset = "1 18 14 7" align = "HStretch Top" name = "Track"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 15 6" align = "HStretch Top">
-      <State name="normal" offset = "301 55 15 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "0 6 15 37" align = "Stretch">
-      <State name="normal" offset = "301 61 15 37"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "0 43 15 6" align = "HStretch Bottom">
-      <State name="normal" offset = "301 98 15 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "HSlider" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="TrackRangeMargins" value = "2 1" />
-    <Property key="MinTrackSize" value = "7" />
-    <Property key="MoveToClick" value = "true"/>
-
-    <Child type="Button" skin="HScrollRightPart"  offset = "0 0 49 15" align = "Right VStretch" name = "SecondPart"/>
-    <Child type="Button" skin="HScrollLeftPart" offset = "0 0 49 15" align = "Stretch" name = "FirstPart"/>
-
-    <Child type="Button" skin="HScrollTrackSlider" offset = "18 1 7 14" align = "Left VStretch" name = "Track"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
-      <State name="normal" offset = "301 2 6 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
-      <State name="normal" offset = "307 2 37 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
-      <State name="normal" offset = "344 2 6 15"/>
-    </BasisSkin>
-
-  </Skin>
-
-  
-  <Skin name = "Progress" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="TrackSkin" value = "HScrollTrackSlider" />
-    <Property key="TrackWidth" value = "7" />
-    <Property key="TrackFill" value = "false" />
-
-    <Child type="Widget" skin="Default" offset = "2 1 46 14" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
-      <State name="normal" offset = "301 2 6 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
-      <State name="normal" offset = "307 2 37 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
-      <State name="normal" offset = "344 2 6 15"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ProgressFill" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="TrackSkin" value = "HScrollTrack" />
-    <Property key="TrackMin" value = "15" />
-    <Property key="TrackFill" value = "true" />
-
-    <Child type="Widget" skin="Default" offset = "2 1 46 14" align = "Stretch" name = "Client"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
-      <State name="normal" offset = "301 2 6 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
-      <State name="normal" offset = "307 2 37 15"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
-      <State name="normal" offset = "344 2 6 15"/>
-    </BasisSkin>
-  </Skin>
-
-
-  <Skin name = "WindowSmallCaption" size = "68 18" texture = "#{MyGUI_Theme_Texture}">
-    <Property key="FontName" value = "Default" />
-    <Property key="TextAlign" value = "Center" />
-    <Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
-
-    <BasisSkin type="SubSkin" offset = "0 0 10 18" align = "Left VStretch">
-      <State name="normal" offset = "356 198 10 18"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 0 46 18" align = "Stretch">
-      <State name="normal" offset = "366 198 46 18"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "56 0 12 18" align = "Right VStretch">
-      <State name="normal" offset = "412 198 12 18"/>
-    </BasisSkin>
-    <BasisSkin type="SimpleText" offset = "2 1 62 17" align = "Stretch"/>
-  </Skin>
-  
-  <Skin name = "WindowSmallC" size = "75 49" texture = "#{MyGUI_Theme_Texture}" >
-    <Property key="ToStick" value = "true" />
-
-    <Child type="Button" skin="WindowSmallCaption" offset = "6 0 64 18" align = "HStretch Top" name = "Caption">
-      <Property key="Scale" value = "1 1 0 0"/>
-    </Child>
-
-
-    <BasisSkin type="SubSkin" offset = "6 18 4 3" align = "Left Top">
-      <State name="normal" offset = "384 173 4 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 18 54 3" align = "HStretch Top">
-      <State name="normal" offset = "390 173 3 3"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "64 18 6 3" align = "Right Top">
-      <State name="normal" offset = "401 173 6 3"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "6 21 4 22" align = "Left VStretch">
-      <State name="normal" offset = "384 176 4 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 21 54 22" align = "Stretch">
-      <State name="normal" offset = "432 5 6 12"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "64 21 6 22" align = "Right VStretch">
-      <State name="normal" offset = "401 176 6 12"/>
-    </BasisSkin>
-
-    <BasisSkin type="SubSkin" offset = "6 43 4 6" align = "Left Bottom">
-      <State name="normal" offset = "384 188 4 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "10 43 54 6" align = "HStretch Bottom">
-      <State name="normal" offset = "390 188 3 6"/>
-    </BasisSkin>
-    <BasisSkin type="SubSkin" offset = "64 43 6 6" align = "Right Bottom">
-      <State name="normal" offset = "401 188 6 6"/>
-    </BasisSkin>
-
-  </Skin>
-
-  <Skin name = "ButtonRoundBlue" size = "14 14" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 14 14" align = "Stretch">
-      <State name="normal" offset = "314 134 14 14"/>
-      <State name="highlighted" offset = "314 148 14 14"/>
-      <State name="pushed" offset = "314 162 14 14"/>
-    </BasisSkin>
-  </Skin>
-
-  <Skin name = "ButtonRoundGrey" size = "14 14" texture = "#{MyGUI_Theme_Texture}" >
-    <BasisSkin type="MainSkin" offset = "0 0 14 14" align = "Stretch">
-      <State name="normal" offset = "329 134 14 14"/>
-      <State name="highlighted" offset = "329 148 14 14"/>
-      <State name="pushed" offset = "329 162 14 14"/>
-    </BasisSkin>
-  </Skin>
-
-</MyGUI>
-
+<?xml version="1.0" encoding="UTF-8"?>
+
+<MyGUI type="Resource" version="1.1">
+
+	<Resource type="ResourceSkin" name = "RotatingSkin" size = "16 16" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="RotatingSkin" offset = "0 0 16 16" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "RawRect" size = "16 16" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="RawRect" offset = "0 0 16 16" align = "Stretch">
+			<State name="normal" offset = "677 68 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StaticText" size = "16 16">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Default" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}" />
+
+		<BasisSkin type="SimpleText" offset = "0 0 16 16"  align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "FlowContainer" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Spacer" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StaticImage" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "skin_Pointer" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Canvas" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "RenderBox" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "TestRenderBox" size = "16 16">
+		<BasisSkin type="MainSkin" offset = "0 0 16 16"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "TileClient" size = "32 32" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="TileRect" offset = "0 0 32 32" align = "Stretch">
+			<State name="normal" offset = "458 73 32 32">
+				<Property key="TileSize" value = "32 32" />
+				<Property key="TileH" value = "true" />
+				<Property key="TileV" value = "true" />
+			</State>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "DefaultClient" size = "65 57" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 65 57" align = "Stretch">
+			<State name="normal" offset = "432 5 65 57"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "Separator4" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
+			<State name="normal" offset = "304 124 2 2"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Separator3" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
+			<State name="normal" offset = "304 128 2 2"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Separator2" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
+			<State name="normal" offset = "313 126 2 2"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Separator1" size = "2 2" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 2 2" align = "Stretch">
+			<State name="normal" offset = "317 126 2 2"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "MarkerGreen" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 18 1 1"/>
+			<State name="highlighted" offset = "678 6 1 1"/>
+			<State name="pushed" offset = "678 6 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MarkerYellow" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 42 1 1"/>
+			<State name="highlighted" offset = "678 30 1 1"/>
+			<State name="pushed" offset = "678 30 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MarkerBlack" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 54 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MarkerWhite" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 66 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "RectBlue" size = "11 10" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "0 0 1 1" align = "Left Top">
+			<State name="normal" offset = "674 74 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 0 9 1" align = "HStretch Top">
+			<State name="normal" offset = "676 74 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 1 1" align = "HStretch Top">
+			<State name="normal" offset = "684 74 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 1 1 8" align = "Left VStretch">
+			<State name="normal" offset = "674 77 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 1 9 8" align = "Stretch">
+			<State name="normal" offset = "676 77 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 1 1 8" align = "Right VStretch">
+			<State name="normal" offset = "684 77 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 9 1 1" align = "Left Bottom">
+			<State name="normal" offset = "674 83 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 9 9 1" align = "HStretch Bottom">
+			<State name="normal" offset = "676 83 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 9 1 1" align = "Right Bottom">
+			<State name="normal" offset = "684 83 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "RectGreen" size = "11 10" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "0 0 1 1" align = "Left Top">
+			<State name="normal" offset = "674 86 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 0 9 1" align = "HStretch Top">
+			<State name="normal" offset = "676 86 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 1 1" align = "HStretch Top">
+			<State name="normal" offset = "684 86 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 1 1 8" align = "Left VStretch">
+			<State name="normal" offset = "674 89 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 1 9 8" align = "Stretch">
+			<State name="normal" offset = "676 89 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 1 1 8" align = "Right VStretch">
+			<State name="normal" offset = "684 89 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 9 1 1" align = "Left Bottom">
+			<State name="normal" offset = "674 95 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 9 9 1" align = "HStretch Bottom">
+			<State name="normal" offset = "676 95 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 9 1 1" align = "Right Bottom">
+			<State name="normal" offset = "684 95 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StretchRectangleLeft" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="Pointer" value = "size_left" />
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 18 1 1"/>
+			<State name="highlighted" offset = "678 6 1 1"/>
+			<State name="pushed" offset = "678 6 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StretchRectangleRight" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="Pointer" value = "size_right" />
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 18 1 1"/>
+			<State name="highlighted" offset = "678 6 1 1"/>
+			<State name="pushed" offset = "678 6 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StretchRectangleHorz" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="Pointer" value = "size_horz" />
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 18 1 1"/>
+			<State name="highlighted" offset = "678 6 1 1"/>
+			<State name="pushed" offset = "678 6 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StretchRectangleVert" size = "1 1" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="Pointer" value = "size_vert" />
+		<BasisSkin type="MainSkin" offset = "0 0 1 1" align = "Stretch">
+			<State name="normal" offset = "678 18 1 1"/>
+			<State name="highlighted" offset = "678 6 1 1"/>
+			<State name="pushed" offset = "678 6 1 1"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StretchRectangle" size = "50 50" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "false" />
+		<Property key="MainMove" value = "true" />
+
+		<Child type="Widget" skin="MarkerGreen" offset = "0 0 50 1" align = "HStretch Top"/>
+		<Child type="Widget" skin="MarkerGreen" offset = "0 49 50 1" align = "HStretch Bottom"/>
+		<Child type="Widget" skin="MarkerGreen" offset = "0 1 1 48" align = "Left VStretch"/>
+		<Child type="Widget" skin="MarkerGreen" offset = "49 1 1 48" align = "Right VStretch"/>
+
+		<Child type="Button" skin="StretchRectangleLeft" offset = "1 1 7 7" align = "Left Top" name = "Action">
+			<Property key="Scale" value = "1 1 -1 -1"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleLeft" offset = "42 42 7 7" align = "Right Bottom" name = "Action">
+			<Property key="Scale" value = "0 0 1 1"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleRight" offset = "42 1 7 7" align = "Right Top" name = "Action">
+			<Property key="Scale" value = "0 1 1 -1"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleRight" offset = "1 42 7 7" align = "Left Bottom" name = "Action">
+			<Property key="Scale" value = "1 0 -1 1"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleHorz" offset = "1 22 7 7" align = "Left VCenter" name = "Action">
+			<Property key="Scale" value = "1 0 -1 0"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleHorz" offset = "42 22 7 7" align = "Right VCenter" name = "Action">
+			<Property key="Scale" value = "0 0 1 0"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleVert" offset = "22 1 7 7" align = "HCenter Top" name = "Action">
+			<Property key="Scale" value = "0 1 0 -1"/>
+		</Child>
+
+		<Child type="Button" skin="StretchRectangleVert" offset = "22 42 7 7" align = "HCenter Bottom" name = "Action">
+			<Property key="Scale" value = "0 0 0 1"/>
+		</Child>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "StatisticRect" size = "11 10" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="FontName" value = "font_Micro.11" />
+		<Property key="TextAlign" value = "Default" />
+		<Property key="TextColour" value = "1 1 1" />
+
+		<BasisSkin type="SubSkin" offset = "0 0 1 1" align = "Left Top">
+			<State name="normal" offset = "674 74 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 0 9 1" align = "HStretch Top">
+			<State name="normal" offset = "676 74 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 1 1" align = "HStretch Top">
+			<State name="normal" offset = "684 74 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 1 1 8" align = "Left VStretch">
+			<State name="normal" offset = "674 77 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 1 9 8" align = "Stretch">
+			<State name="normal" offset = "676 77 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 1 1 8" align = "Right VStretch">
+			<State name="normal" offset = "684 77 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 9 1 1" align = "Left Bottom">
+			<State name="normal" offset = "674 83 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "1 9 9 1" align = "HStretch Bottom">
+			<State name="normal" offset = "676 83 1 1"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 9 1 1" align = "Right Bottom">
+			<State name="normal" offset = "684 83 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "4 2 3 6"  align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ItemBoxV" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="AlignVert" value = "true" />
+		<Property key="DragLayer" value = "DragAndDrop" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-9 3 15 3" align = "Right VStretch" name = "VScroll"/>
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 -12 3" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ItemBoxH" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="AlignVert" value = "false" />
+		<Property key="DragLayer" value = "DragAndDrop" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-9 3 15 -12" align = "Right VStretch" name = "VScroll"/>
+		<Child type="HScroll" skin="HScroll" offset = "3 -9 -12 15" align = "HStretch Bottom" name = "HScroll"/>
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 -12 -12" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "CheckBox" size = "100 21" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Left VCenter" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 21 21" align = "Left VCenter">
+			<State name="disabled" offset = "2 2 21 21"/>
+			<State name="normal" offset = "2 24 21 21"/>
+			<State name="highlighted" offset = "2 46 21 21"/>
+			<State name="pushed" offset = "2 68 21 21"/>
+			<State name="disabled_checked" offset = "2 90 21 21"/>
+			<State name="normal_checked" offset = "2 112 21 21"/>
+			<State name="highlighted_checked" offset = "2 134 21 21"/>
+			<State name="pushed_checked" offset = "2 156 21 21"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "24 0 76 21" align = "Stretch">
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "RadioBox" size = "100 19" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Left VCenter" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 19 19" align = "Left VCenter">
+			<State name="disabled" offset = "27 2 19 19"/>
+			<State name="normal" offset = "27 23 19 19"/>
+			<State name="highlighted" offset = "27 44 19 19"/>
+			<State name="pushed" offset = "27 65 19 19"/>
+			<State name="disabled_checked" offset = "27 86 19 19"/>
+			<State name="normal_checked" offset = "27 107 19 19"/>
+			<State name="highlighted_checked" offset = "27 128 19 19"/>
+			<State name="pushed_checked" offset = "27 149 19 19"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "24 0 76 19" align = "Stretch">
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonMinusPlus" size = "18 18" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 18 18" align = "Stretch">
+			<State name="disabled" offset = "49 2 18 18"/>
+			<State name="normal" offset = "49 23 18 18"/>
+			<State name="highlighted" offset = "49 44 18 18"/>
+			<State name="pushed" offset = "49 65 18 18"/>
+			<State name="disabled_checked" offset = "49 84 18 18"/>
+			<State name="normal_checked" offset = "49 107 18 18"/>
+			<State name="highlighted_checked" offset = "49 128 18 18"/>
+			<State name="pushed_checked" offset = "49 149 18 18"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonX" size = "18 17" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 18 17" align = "Stretch">
+			<State name="disabled" offset = "72 2 18 17"/>
+			<State name="normal" offset = "72 21 18 17"/>
+			<State name="highlighted" offset = "72 40 18 17"/>
+			<State name="normal_checked" offset = "72 59 18 17"/>
+			<State name="pushed" offset = "72 78 18 17"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonV" size = "17 15" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 17 15" align = "Stretch">
+			<State name="disabled" offset = "72 98 17 15"/>
+			<State name="normal" offset = "72 114 17 15"/>
+			<State name="highlighted" offset = "72 130 17 15"/>
+			<State name="normal_checked" offset = "72 146 17 15"/>
+			<State name="pushed" offset = "72 162 17 15"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonDown" size = "14 12" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 14 12" align = "Stretch">
+			<State name="disabled" offset = "95 2 14 12"/>
+			<State name="normal" offset = "95 15 14 12"/>
+			<State name="highlighted" offset = "95 28 14 12"/>
+			<State name="normal_checked" offset = "95 41 14 12"/>
+			<State name="pushed" offset = "95 54 14 12"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonUp" size = "14 12" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 14 12" align = "Stretch">
+			<State name="disabled" offset = "95 68 14 12"/>
+			<State name="normal" offset = "95 82 14 12"/>
+			<State name="highlighted" offset = "95 96 14 12"/>
+			<State name="normal_checked" offset = "95 110 14 12"/>
+			<State name="pushed" offset = "95 124 14 12"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonLeft" size = "12 14" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 12 14" align = "Stretch">
+			<State name="disabled" offset = "112 2 12 14"/>
+			<State name="normal" offset = "112 18 12 14"/>
+			<State name="highlighted" offset = "112 34 12 14"/>
+			<State name="normal_checked" offset = "112 50 12 14"/>
+			<State name="pushed" offset = "112 66 12 14"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonRight" size = "12 14" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 12 14" align = "Stretch">
+			<State name="disabled" offset = "112 84 12 14"/>
+			<State name="normal" offset = "112 100 12 14"/>
+			<State name="highlighted" offset = "112 116 12 14"/>
+			<State name="normal_checked" offset = "112 132 12 14"/>
+			<State name="pushed" offset = "112 148 12 14"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonSmall" size = "29 21" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "HCenter VCenter" />
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 21" align = "Left VStretch">
+			<State name="disabled" offset = "169 2 10 21"/>
+			<State name="normal" offset = "169 24 10 21"/>
+			<State name="highlighted" offset = "169 46 10 21"/>
+			<State name="normal_checked" offset = "169 68 10 21"/>
+			<State name="pushed" offset = "169 90 10 21"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 21" align = "HStretch VStretch">
+			<State name="disabled" offset = "179 2 7 21"/>
+			<State name="normal" offset = "179 24 7 21"/>
+			<State name="highlighted" offset = "179 46 7 21"/>
+			<State name="normal_checked" offset = "179 68 7 21"/>
+			<State name="pushed" offset = "179 90 7 21"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 21" align = "Right VStretch">
+			<State name="disabled" offset = "186 2 12 21"/>
+			<State name="normal" offset = "186 24 12 21"/>
+			<State name="highlighted" offset = "186 46 12 21"/>
+			<State name="normal_checked" offset = "186 68 12 21"/>
+			<State name="pushed" offset = "186 90 12 21"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "1 1 25 17" align = "Stretch">
+			<State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
+			<State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Button" size = "29 26" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "HCenter VCenter" />
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
+			<State name="disabled" offset = "202 2 10 26"/>
+			<State name="normal" offset = "202 29 10 26"/>
+			<State name="highlighted" offset = "202 56 10 26"/>
+			<State name="normal_checked" offset = "202 83 10 26"/>
+			<State name="pushed" offset = "202 110 10 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 26" align = "HStretch VStretch">
+			<State name="disabled" offset = "212 2 7 26"/>
+			<State name="normal" offset = "212 29 7 26"/>
+			<State name="highlighted" offset = "212 56 7 26"/>
+			<State name="normal_checked" offset = "212 83 7 26"/>
+			<State name="pushed" offset = "212 110 7 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 26" align = "Right VStretch">
+			<State name="disabled" offset = "219 2 12 26"/>
+			<State name="normal" offset = "219 29 12 26"/>
+			<State name="highlighted" offset = "219 56 12 26"/>
+			<State name="normal_checked" offset = "219 83 12 26"/>
+			<State name="pushed" offset = "219 110 12 26"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "1 1 25 22" align = "Stretch">
+			<State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
+			<State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "EditClientSimple" size = "32 32">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Default" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+		<BasisSkin type="EditText" offset = "0 0 32 32" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WordWrapSimple" size = "32 32" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="WordWrap" value = "true" />
+		<Child type="Widget" skin="EditClientSimple" offset = "0 0 32 32" align = "Stretch" name = "Client"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WordWrap" size = "32 32" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="WordWrap" value = "true" />
+		<Child type="Widget" skin="EditClientSimple" offset = "0 0 16 32" align = "Stretch" name = "Client"/>
+		<Child type="VScroll" skin="VScroll" offset = "17 0 15 32" align = "Right VStretch" name = "VScroll"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "EditClient" size = "10 10">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Left VCenter" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}" />
+		<Property key="Pointer" value = "beam" />
+		<BasisSkin type="EditText" offset = "0 0 10 10" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "EditStretch" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
+
+		<Child type="Widget" skin="EditClient" offset = "2 3 7 3" align = "Stretch" name = "Client"/>
+		<Child type="VScroll" skin="VScroll" offset = "10 2 15 5" align = "Right VStretch" name = "VScroll"/>
+		<Child type="HScroll" skin="HScroll" offset = "2 7 8 15" align = "HStretch Bottom" name = "HScroll"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 8" align = "Left Top">
+			<State name="disabled" offset = "235 2 10 8"/>
+			<State name="normal" offset = "235 29 10 8"/>
+			<State name="highlighted" offset = "235 56 10 8"/>
+			<State name="normal_checked" offset = "235 83 10 8"/>
+			<State name="pushed" offset = "235 110 10 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 8" align = "HStretch Top">
+			<State name="disabled" offset = "245 2 7 8"/>
+			<State name="normal" offset = "245 29 7 8"/>
+			<State name="highlighted" offset = "245 56 7 8"/>
+			<State name="normal_checked" offset = "245 83 7 8"/>
+			<State name="pushed" offset = "245 110 7 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 8" align = "Right Top">
+			<State name="disabled" offset = "252 2 12 8"/>
+			<State name="normal" offset = "252 29 12 8"/>
+			<State name="highlighted" offset = "252 56 12 8"/>
+			<State name="normal_checked" offset = "252 83 12 8"/>
+			<State name="pushed" offset = "252 110 12 8"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 8 10 8" align = "Left VStretch">
+			<State name="disabled" offset = "235 10 10 8"/>
+			<State name="normal" offset = "235 37 10 8"/>
+			<State name="highlighted" offset = "235 64 10 8"/>
+			<State name="normal_checked" offset = "235 91 10 8"/>
+			<State name="pushed" offset = "235 118 10 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 8 7 8" align = "HStretch VStretch">
+			<State name="disabled" offset = "245 10 7 8"/>
+			<State name="normal" offset = "245 37 7 8"/>
+			<State name="highlighted" offset = "245 64 7 8"/>
+			<State name="normal_checked" offset = "245 91 7 8"/>
+			<State name="pushed" offset = "245 118 7 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 8 12 8" align = "Right VStretch">
+			<State name="disabled" offset = "252 10 12 8"/>
+			<State name="normal" offset = "252 37 12 8"/>
+			<State name="highlighted" offset = "252 64 12 8"/>
+			<State name="normal_checked" offset = "252 91 12 8"/>
+			<State name="pushed" offset = "252 118 12 8"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 16 10 10" align = "Left Bottom">
+			<State name="disabled" offset = "235 18 10 10"/>
+			<State name="normal" offset = "235 45 10 10"/>
+			<State name="highlighted" offset = "235 72 10 10"/>
+			<State name="normal_checked" offset = "235 99 10 10"/>
+			<State name="pushed" offset = "235 126 10 10"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 16 7 10" align = "HStretch Bottom">
+			<State name="disabled" offset = "245 18 7 10"/>
+			<State name="normal" offset = "245 45 7 10"/>
+			<State name="highlighted" offset = "245 72 7 10"/>
+			<State name="normal_checked" offset = "245 99 7 10"/>
+			<State name="pushed" offset = "245 126 7 10"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 16 12 10" align = "Right Bottom">
+			<State name="disabled" offset = "252 18 12 10"/>
+			<State name="normal" offset = "252 45 12 10"/>
+			<State name="highlighted" offset = "252 72 12 10"/>
+			<State name="normal_checked" offset = "252 99 12 10"/>
+			<State name="pushed" offset = "252 126 12 10"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Edit" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
+		<Child type="Widget" skin="EditClient" offset = "2 1 23 22" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
+			<State name="disabled" offset = "235 2 10 26"/>
+			<State name="normal" offset = "235 29 10 26"/>
+			<State name="highlighted" offset = "235 56 10 26"/>
+			<State name="normal_checked" offset = "235 83 10 26"/>
+			<State name="pushed" offset = "235 110 10 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 26" align = "Stretch">
+			<State name="disabled" offset = "245 2 7 26"/>
+			<State name="normal" offset = "245 29 7 26"/>
+			<State name="highlighted" offset = "245 56 7 26"/>
+			<State name="normal_checked" offset = "245 83 7 26"/>
+			<State name="pushed" offset = "245 110 7 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 26" align = "Right VStretch">
+			<State name="disabled" offset = "252 2 12 26"/>
+			<State name="normal" offset = "252 29 12 26"/>
+			<State name="highlighted" offset = "252 56 12 26"/>
+			<State name="normal_checked" offset = "252 83 12 26"/>
+			<State name="pushed" offset = "252 110 12 26"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "EditEmpty" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
+		<Child type="Widget" skin="EditClient" offset = "2 1 23 22" align = "Stretch" name = "Client"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ComboBox" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="HeightList" value = "250" />
+		<Property key="ListSmoothShow" value = "true" />
+
+		<Child type="Widget" skin="EditClient" offset = "2 1 5 22" align = "Stretch" name = "Client"/>
+		<Child type="Button" skin="ButtonDown" offset = "9 4 14 12" align = "Right VCenter" name = "Button"/>
+		<Child type="List" style="Popup" skin="List" offset = "0 0 0 0" align = "Default" layer="Popup" name = "List"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
+			<State name="disabled" offset = "235 2 10 26"/>
+			<State name="normal" offset = "235 29 10 26"/>
+			<State name="highlighted" offset = "235 56 10 26"/>
+			<State name="normal_checked" offset = "235 83 10 26"/>
+			<State name="pushed" offset = "235 110 10 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 26" align = "Stretch">
+			<State name="disabled" offset = "245 2 7 26"/>
+			<State name="normal" offset = "245 29 7 26"/>
+			<State name="highlighted" offset = "245 56 7 26"/>
+			<State name="normal_checked" offset = "245 83 7 26"/>
+			<State name="pushed" offset = "245 110 7 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 26" align = "Right VStretch">
+			<State name="disabled" offset = "252 2 12 26"/>
+			<State name="normal" offset = "252 29 12 26"/>
+			<State name="highlighted" offset = "252 56 12 26"/>
+			<State name="normal_checked" offset = "252 83 12 26"/>
+			<State name="pushed" offset = "252 110 12 26"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "WindowCaption" size = "68 28" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Center" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 15 28" align = "Left VStretch">
+			<State name="normal" offset = "356 36 15 28"/>
+			<State name="highlighted" offset = "356 70 15 28"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "15 0 36 28" align = "Stretch">
+			<State name="normal" offset = "371 36 36 28"/>
+			<State name="highlighted" offset = "371 70 36 28"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "51 0 17 28" align = "Right VStretch">
+			<State name="normal" offset = "407 36 17 28"/>
+			<State name="highlighted" offset = "407 70 17 28"/>
+		</BasisSkin>
+		<BasisSkin type="SimpleText" offset = "10 0 46 24" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowCaptionDisable" size = "68 28" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Center" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 15 28" align = "Left VStretch">
+			<State name="normal" offset = "356 2 15 28"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "15 0 36 28" align = "Stretch">
+			<State name="normal" offset = "371 2 36 28"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "51 0 17 28" align = "Right VStretch">
+			<State name="normal" offset = "407 2 17 28"/>
+		</BasisSkin>
+		<BasisSkin type="SimpleText" offset = "5 4 56 24" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowCaptionSmall" size = "40 28" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Center" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 15 28" align = "Left VStretch">
+			<State name="normal" offset = "356 104 15 28"/>
+			<State name="highlighted" offset = "356 138 15 28"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "15 0 13 28" align = "Stretch">
+			<State name="normal" offset = "371 104 13 28"/>
+			<State name="highlighted" offset = "371 138 13 28"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "28 0 12 28" align = "Right VStretch">
+			<State name="normal" offset = "384 104 12 28"/>
+			<State name="highlighted" offset = "384 138 12 28"/>
+		</BasisSkin>
+		<BasisSkin type="SimpleText" offset = "10 0 24 24" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowResizeRight" size = "9 9" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="Pointer" value = "size_left" />
+		<BasisSkin type="MainSkin" offset = "0 0 9 9" align = "Stretch">
+			<State name="normal" offset = "369 185 9 9"/>
+			<State name="highlighted" offset = "369 172 9 9"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowResizeLeft" size = "9 9" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="Pointer" value = "size_right" />
+		<BasisSkin type="MainSkin" offset = "0 0 9 9" align = "Stretch">
+			<State name="normal" offset = "356 185 9 9"/>
+			<State name="highlighted" offset = "356 172 9 9"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Window" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowCaptionDisable" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowC" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowCaption" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowCS" size = "68 49" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowCaption" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
+
+		<Child type="Button" skin="WindowResizeRight" offset = "57 38 9 9" align = "Right Bottom" name = "Action">
+			<Property key="Scale" value = "0 0 1 1"/>
+		</Child>
+		<Child type="Button" skin="WindowResizeLeft" offset = "0 38 9 9" align = "Left Bottom" name = "Action">
+			<Property key="Scale" value = "1 0 -1 1"/>
+		</Child>
+
+		<BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowCSX" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowCaptionSmall" offset = "0 0 40 28" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
+
+		<Child type="Button" skin="WindowResizeRight" offset = "57 38 9 9" align = "Right Bottom" name = "Action">
+			<Property key="Scale" value = "0 0 1 1"/>
+		</Child>
+		<Child type="Button" skin="WindowResizeLeft" offset = "0 38 9 9" align = "Left Bottom" name = "Action">
+			<Property key="Scale" value = "1 0 -1 1"/>
+		</Child>
+
+		<Child type="Button" skin="ButtonX" offset = "43 6 18 17" align = "Right Top" name = "Button">
+			<Property key="Event" value = "close"/>
+		</Child>
+
+		<BasisSkin type="SubSkin" offset = "40 0 28 28" align = "Right Top">
+			<State name="normal" offset = "396 104 28 28"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowCSMX" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowCaptionSmall" offset = "0 0 21 28" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<Child type="Widget" skin="DefaultClient" offset = "4 31 58 12" align = "Stretch" name = "Client"/>
+
+		<Child type="Button" skin="WindowResizeRight" offset = "57 38 9 9" align = "Right Bottom" name = "Action">
+			<Property key="Scale" value = "0 0 1 1"/>
+		</Child>
+		<Child type="Button" skin="WindowResizeLeft" offset = "0 38 9 9" align = "Left Bottom" name = "Action">
+			<Property key="Scale" value = "1 0 -1 1"/>
+		</Child>
+
+		<Child type="Button" skin="ButtonX" offset = "43 6 18 17" align = "Right Top" name = "Button">
+			<Property key="Event" value = "close"/>
+		</Child>
+
+		<Child type="Button" skin="ButtonV" offset = "24 7 17 15" align = "Right Top" name = "Button">
+			<Property key="Event" value = "check"/>
+		</Child>
+
+		<BasisSkin type="SubSkin" offset = "21 0 47 28" align = "Right Top">
+			<State name="normal" offset = "377 2 47 28"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+	
+	<Resource type="ResourceSkin" name = "MessageClient" size = "16 16">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Left VCenter" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SimpleText" offset = "0 0 16 16"  align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MessageIcon" size = "50 50">
+		<Property key="ImageResource" value = "pic_CoreMessageIcon" />
+		<Property key="ImageGroup" value = "Icons" />
+
+		<BasisSkin type="MainSkin" offset = "0 0 50 50" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Message" size = "68 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+		<Property key="ButtonSkin" value = "Button" />
+		<Property key="ButtonType" value = "Button" />
+		<Property key="ButtonSize" value = "100 26" />
+		<Property key="ButtonOffset" value = "20 43" />
+		<Property key="DefaultLayer" value = "Info" />
+		<Property key="FadeSkin" value = "MarkerBlack" />
+		<Property key="FadeLayer" value = "FadeMiddle" />
+
+		<Child type="Widget" skin="MessageClient" offset = "10 35 32 -36" align = "Stretch" name = "Text"/>
+		<Child type="StaticImage" skin="MessageIcon" offset = "6 34 50 50" align = "Default" name = "Icon"/>
+
+		<Child type="Button" skin="WindowCaption" offset = "0 0 68 28" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<BasisSkin type="SubSkin" offset = "0 28 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 28 58 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 28 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 31 4 12" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 31 58 12" align = "Stretch">
+			<State name="normal" offset = "432 5 65 57"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 31 6 12" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 43 58 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "62 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "Panel" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 3 3 3" align = "Stretch">
+			<State name="normal" offset = "432 5 65 57"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "PanelSmall" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 95 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 95 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 95 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 100 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 3 3 3" align = "Stretch">
+			<State name="normal" offset = "432 5 65 57"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 100 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 112 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 112 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 112 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "ScrollView" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-9 3 15 -12" align = "Right VStretch" name = "VScroll"/>
+		<Child type="HScroll" skin="HScroll" offset = "3 -9 -12 15" align = "HStretch Bottom" name = "HScroll"/>
+		<Child type="Widget" skin="Default" offset = "3 3 -12 -12" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 3 3 3" align = "Stretch">
+			<State name="normal" offset = "432 5 65 57"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ScrollViewEmpty" size = "30 30" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+
+		<Child type="VScroll" skin="VScroll" offset = "15 0 15 15" align = "Right VStretch" name = "VScroll"/>
+		<Child type="HScroll" skin="HScroll" offset = "0 15 15 15" align = "HStretch Bottom" name = "HScroll"/>
+		<Child type="Widget" skin="Default" offset = "0 0 15 15" align = "Stretch" name = "Client"/>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "TabButton" size = "51 26" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Center" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 11 26" align = "Left VStretch">
+			<State name="normal" offset = "597 2 11 26"/>
+			<State name="highlighted" offset = "597 33 11 26"/>
+			<State name="normal_checked" offset = "545 2 11 26"/>
+			<State name="pushed" offset = "545 33 11 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "11 0 26 26" align = "Stretch">
+			<State name="normal" offset = "608 2 26 26"/>
+			<State name="highlighted" offset = "608 33 26 26"/>
+			<State name="normal_checked" offset = "556 2 26 26"/>
+			<State name="pushed" offset = "556 33 26 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "37 0 14 26" align = "Right VStretch">
+			<State name="normal" offset = "634 2 14 26"/>
+			<State name="highlighted" offset = "634 33 14 26"/>
+			<State name="normal_checked" offset = "582 2 14 26"/>
+			<State name="pushed" offset = "582 33 14 26"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "10 0 28 26" align = "Stretch">
+			<State name="normal_checked" shift="true"/>
+			<State name="pushed" shift="true"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "TabEmpty" size = "2 26" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 2 26" align = "Stretch">
+			<State name="normal" offset = "650 2 2 26"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "TabPatch" size = "17 5" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 17 5" align = "Stretch">
+			<State name="normal" offset = "538 64 17 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "Tab" size = "43 60" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="OffsetBar" value = "17" />
+		<Property key="ButtonSkin" value = "TabButton" />
+		<Property key="EmptyBarSkin" value = "TabEmpty" />
+
+		<Child type="Widget" skin="Default" offset = "4 26 34 28" align = "Stretch" name = "Sheet"/>
+		<Child type="Widget" skin="Default" offset = "8 0 22 26" align = "HStretch Top" name = "Bar"/>
+		<Child type="Button" skin="ButtonLeft" offset = "13 4 12 14" align = "Right Top" name = "Left"/>
+		<Child type="Button" skin="ButtonRight" offset = "29 4 12 14" align = "Right Top" name = "Right"/>
+		<Child type="Widget" skin="TabPatch" offset = "13 21 17 5" align = "Right Top" name = "ShowPatch"/>
+
+
+		<BasisSkin type="SubSkin" offset = "0 21 8 5" align = "Left Top">
+			<State name="normal" offset = "524 64 8 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "30 21 13 5" align = "Right Top">
+			<State name="normal" offset = "554 64 13 5"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 26 4 29" align = "Left VStretch">
+			<State name="normal" offset = "524 69 4 29"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 26 33 29" align = "Stretch">
+			<State name="normal" offset = "528 69 33 29"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "37 26 6 29" align = "Right VStretch">
+			<State name="normal" offset = "561 69 6 29"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 55 4 5" align = "Left Bottom">
+			<State name="normal" offset = "524 98 4 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "4 55 33 5" align = "HStretch Bottom">
+			<State name="normal" offset = "528 98 33 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "37 55 8 5" align = "Right Bottom">
+			<State name="normal" offset = "561 98 8 5"/>
+		</BasisSkin>
+
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "PopupMenuLine" size = "30 5" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Left VCenter" />
+
+		<Child type="StaticImage" skin="PopupMenuLineIcon" offset = "18 0 12 15" align = "Right VCenter" name = "Image"/>
+
+		<BasisSkin type="MainSkin" offset = "0 0 30 5">
+			<State name="normal" offset = "343 115 1 1"/>
+			<State name="highlighted" offset = "306 115 1 1"/>
+			<State name="normal_checked" offset = "318 115 1 1"/>
+			<State name="pushed" offset = "330 115 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "14 0 2 5"  align = "Stretch">
+			<State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
+			<State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "PopupMenuSeparator" size = "4 4" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "2 1 0 2" align = "HStretch VCenter">
+			<State name="normal" offset = "304 124 2 2"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "PopupMenuLineIcon" size = "12 14" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedMouse" value = "false" />
+		<Property key="ImageResource" value = "pic_CorePopupMenu" />
+		<Property key="ImageGroup" value = "Icons" />
+
+		<BasisSkin type="MainSkin" offset = "0 0 12 14" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "PopupMenu" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+		<Property key="SubmenuImageSize" value = "12" />
+		<Property key="SubMenuLayer" value = "Popup" />
+		<Property key="SubMenuSkin" value = "PopupMenu" />
+
+		<Property key="SkinLine" value = "PopupMenuLine" />
+		<Property key="HeightLine" value = "20" />
+
+		<Property key="SeparatorSkin" value = "PopupMenuSeparator" />
+		<Property key="SeparatorHeight" value = "10" />
+		<Property key="AlignVert" value = "true" />
+
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 3 3" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MenuBarButton" size = "27 22" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Center" />
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 22" align = "Left VStretch">
+			<State name="disabled" offset = "268 31 0 0"/>
+			<State name="normal" offset = "268 31 0 0"/>
+			<State name="highlighted" offset = "268 49 10 22"/>
+			<State name="normal_checked" offset = "268 72 10 22"/>
+			<State name="pushed" offset = "268 96 10 22"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 22" align = "Stretch">
+			<State name="disabled" offset = "278 31 0 0"/>
+			<State name="normal" offset = "278 31 0 0"/>
+			<State name="highlighted" offset = "278 49 7 22"/>
+			<State name="normal_checked" offset = "278 72 7 22"/>
+			<State name="pushed" offset = "278 96 7 22"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 10 22" align = "Right VStretch">
+			<State name="disabled" offset = "285 31 0 0"/>
+			<State name="normal" offset = "285 31 0 0"/>
+			<State name="highlighted" offset = "285 49 10 22"/>
+			<State name="normal_checked" offset = "285 72 10 22"/>
+			<State name="pushed" offset = "285 96 10 22"/>
+		</BasisSkin>
+		<BasisSkin type="SimpleText" offset = "6 0 15 22" align = "Stretch">
+			<State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
+			<State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MenuBar" size = "27 26" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+		<Property key="SkinLine" value = "MenuBarButton" />
+		<Property key="DistanceButton" value = "6" />
+		<Property key="SubMenuSkin" value = "PopupMenu" />
+		<Property key="SubMenuLayer" value = "Popup" />
+		<Property key="HeightLine" value = "22" />
+
+		<Property key="AlignVert" value = "false" />
+
+		<Child type="Widget" skin="Default" offset = "6 1 15 22" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 26" align = "Left VStretch">
+			<State name="normal" offset = "202 29 10 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 26" align = "HStretch VStretch">
+			<State name="normal" offset = "212 29 7 26"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 10 26" align = "Right VStretch">
+			<State name="normal" offset = "219 29 10 26"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "ListLine" size = "5 5" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "Left VCenter" />
+
+		<Child type="StaticImage" skin="PopupMenuLineIcon" offset = "-10 0 12 15" align = "Right VCenter" name = "Image"/>
+
+		<BasisSkin type="MainSkin" offset = "0 0 5 5">
+			<State name="normal" offset = "343 115 1 1"/>
+			<State name="highlighted" offset = "306 115 1 1"/>
+			<State name="normal_checked" offset = "318 115 1 1"/>
+			<State name="pushed" offset = "330 115 1 1"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "2 0 1 5"  align = "Stretch">
+			<State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}"/>
+			<State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
+			<State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "List" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+		<Property key="SkinLine" value = "ListLine" />
+		<Property key="HeightLine" value = "20" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-9 3 15 3" align = "Right VStretch" name = "VScroll"/>
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 -12 3" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MultiSubList" size = "9 9" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+		<Property key="SkinLine" value = "ListLine" />
+		<Property key="HeightLine" value = "20" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-7 0 16 9" align = "Right VStretch" name = "VScroll"/>
+		<Child type="Widget" skin="Default" offset = "0 0 -7 9" align = "Stretch" name = "Client"/>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MultiListButtonIcon" size = "14 10" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedMouse" value = "false" />
+		<Property key="ImageResource" value = "pic_CoreMultiListIcon" />
+		<Property key="ImageGroup" value = "Icons" />
+
+		<BasisSkin type="MainSkin" offset = "0 0 14 10" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MultiListButton" size = "29 21" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "Default" />
+		<Property key="TextAlign" value = "HCenter VCenter" />
+
+		<Child type="StaticImage" skin="MultiListButtonIcon" offset = "8 0 14 10" align = "Right VCenter" name = "Image"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 21" align = "Left VStretch">
+			<State name="disabled" offset = "169 2 10 21"/>
+			<State name="normal" offset = "169 24 10 21"/>
+			<State name="highlighted" offset = "169 46 10 21"/>
+			<State name="normal_checked" offset = "169 68 10 21"/>
+			<State name="pushed" offset = "169 90 10 21"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 21" align = "HStretch VStretch">
+			<State name="disabled" offset = "179 2 7 21"/>
+			<State name="normal" offset = "179 24 7 21"/>
+			<State name="highlighted" offset = "179 46 7 21"/>
+			<State name="normal_checked" offset = "179 68 7 21"/>
+			<State name="pushed" offset = "179 90 7 21"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 21" align = "Right VStretch">
+			<State name="disabled" offset = "186 2 12 21"/>
+			<State name="normal" offset = "186 24 12 21"/>
+			<State name="highlighted" offset = "186 46 12 21"/>
+			<State name="normal_checked" offset = "186 68 12 21"/>
+			<State name="pushed" offset = "186 90 12 21"/>
+		</BasisSkin>
+
+		<BasisSkin type="SimpleText" offset = "1 1 25 17" align = "Stretch">
+			<State name="disabled" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="normal" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="highlighted" colour="#{MyGUI_Theme_Button_ColourNormal}" shift = "false"/>
+			<State name="normal_checked" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
+			<State name="pushed" colour="#{MyGUI_Theme_Button_ColourPushed}" shift = "true"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "MultiList" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+		<Property key="SkinButton" value = "MultiListButton" />
+		<Property key="HeightButton" value = "21" />
+		<Property key="SkinList" value = "MultiSubList" />
+
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 3 3" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "VScrollTrackSlider" size = "14 7" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 14 7" align = "Stretch">
+			<State name="disabled" offset = "128 2 14 7"/>
+			<State name="normal" offset = "128 10 14 7"/>
+			<State name="highlighted" offset = "128 18 14 7"/>
+			<State name="normal_checked" offset = "128 26 14 7"/>
+			<State name="pushed" offset = "128 34 14 7"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "VScrollTrack" size = "14 19" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="SubSkin" offset = "0 0 14 7" align = "HStretch Top">
+			<State name="disabled" offset = "128 45 14 7"/>
+			<State name="normal" offset = "128 65 14 7"/>
+			<State name="highlighted" offset = "128 85 14 7"/>
+			<State name="normal_checked" offset = "128 105 14 7"/>
+			<State name="pushed" offset = "128 125 14 7"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "0 7 14 3" align = "HStretch VStretch">
+			<State name="disabled" offset = "128 52 14 3"/>
+			<State name="normal" offset = "128 72 14 3"/>
+			<State name="highlighted" offset = "128 92 14 3"/>
+			<State name="normal_checked" offset = "128 112 14 3"/>
+			<State name="pushed" offset = "128 132 14 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "0 10 14 9" align = "HStretch Bottom">
+			<State name="disabled" offset = "128 55 14 9"/>
+			<State name="normal" offset = "128 75 14 9"/>
+			<State name="highlighted" offset = "128 95 14 9"/>
+			<State name="normal_checked" offset = "128 115 14 9"/>
+			<State name="pushed" offset = "128 135 14 9"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "VScrollTopPart" size = "15 6" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "0 0 15 6" align = "Stretch">
+			<State name="normal" offset = "0 0 0 0"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "VScrollBottomPart" size = "15 6" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "0 0 15 6" align = "Stretch">
+			<State name="normal" offset = "0 0 0 0"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "VScroll" size = "15 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="TrackRangeMargins" value = "14 12" />
+		<Property key="MinTrackSize" value = "19" />
+
+		<Child type="Button" skin="VScrollTopPart" offset = "0 15 15 6" align = "Stretch" name = "FirstPart"/>
+		<Child type="Button" skin="VScrollBottomPart" offset = "0 21 15 6" align = "HStretch Bottom" name = "SecondPart"/>
+
+		<Child type="Button" skin="ButtonUp" offset = "1 2 14 12" align = "HStretch Top" name = "Start"/>
+		<Child type="Button" skin="ButtonDown" offset = "1 37 14 12" align = "HStretch Bottom" name = "End"/>
+		<Child type="Button" skin="VScrollTrack" offset = "1 18 14 19" align = "HStretch Top" name = "Track"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 15 6" align = "HStretch Top">
+			<State name="normal" offset = "301 55 15 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "0 6 15 37" align = "Stretch">
+			<State name="normal" offset = "301 61 15 37"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "0 43 15 6" align = "HStretch Bottom">
+			<State name="normal" offset = "301 98 15 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "HScrollTrackSlider" size = "7 14" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="MainSkin" offset = "0 0 7 14" align = "Stretch">
+			<State name="disabled" offset = "146 2 7 14"/>
+			<State name="normal" offset = "146 17 7 14"/>
+			<State name="highlighted" offset = "146 32 7 14"/>
+			<State name="normal_checked" offset = "146 47 7 14"/>
+			<State name="pushed" offset = "146 62 7 14"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "HScrollTrack" size = "19 14" texture = "#{MyGUI_Theme_Texture}">
+		<BasisSkin type="SubSkin" offset = "0 0 7 14" align = "Left VStretch">
+			<State name="disabled" offset = "146 80 7 14"/>
+			<State name="normal" offset = "146 95 7 14"/>
+			<State name="highlighted" offset = "146 110 7 14"/>
+			<State name="normal_checked" offset = "146 125 7 14"/>
+			<State name="pushed" offset = "146 140 7 14"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "7 0 3 14" align = "HStretch VStretch">
+			<State name="disabled" offset = "153 80 3 14"/>
+			<State name="normal" offset = "153 95 3 14"/>
+			<State name="highlighted" offset = "153 110 3 14"/>
+			<State name="normal_checked" offset = "153 125 3 14"/>
+			<State name="pushed" offset = "153 140 3 14"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 9 14" align = "Right VStretch">
+			<State name="disabled" offset = "156 80 9 14"/>
+			<State name="normal" offset = "156 95 9 14"/>
+			<State name="highlighted" offset = "156 110 9 14"/>
+			<State name="normal_checked" offset = "156 125 9 14"/>
+			<State name="pushed" offset = "156 140 9 14"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "HScrollLeftPart" size = "6 15" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Stretch">
+			<State name="normal" offset = "0 0 0 0"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "HScrollRightPart" size = "6 15" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Stretch">
+			<State name="normal" offset = "0 0 0 0"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "HScroll" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="TrackRangeMargins" value = "14 13" />
+		<Property key="MinTrackSize" value = "19" />
+
+		<Child type="Button" skin="HScrollLeftPart" offset = "15 0 6 15" align = "Stretch" name = "FirstPart"/>
+		<Child type="Button" skin="HScrollRightPart" offset = "21 0 6 15" align = "Right VStretch" name = "SecondPart"/>
+
+		<Child type="Button" skin="ButtonLeft" offset = "2 1 12 14" align = "Left VStretch" name = "Start"/>
+		<Child type="Button" skin="ButtonRight" offset = "36 1 12 14" align = "Right VStretch" name = "End"/>
+		<Child type="Button" skin="HScrollTrack" offset = "18 1 19 14" align = "Left VStretch" name = "Track"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
+			<State name="normal" offset = "301 2 6 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
+			<State name="normal" offset = "307 2 37 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
+			<State name="normal" offset = "344 2 6 15"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "VSlider" size = "15 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="TrackRangeMargins" value = "2 1" />
+		<Property key="MinTrackSize" value = "7" />
+		<Property key="MoveToClick" value = "true"/>
+
+		<Child type="Button" skin="VScrollTopPart" offset = "0 0 15 49" align = "Stretch" name = "FirstPart"/>
+		<Child type="Button" skin="VScrollBottomPart" offset = "0 0 15 49" align = "HStretch Bottom" name = "SecondPart"/>
+
+		<Child type="Button" skin="VScrollTrackSlider" offset = "1 18 14 7" align = "HStretch Top" name = "Track"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 15 6" align = "HStretch Top">
+			<State name="normal" offset = "301 55 15 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "0 6 15 37" align = "Stretch">
+			<State name="normal" offset = "301 61 15 37"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "0 43 15 6" align = "HStretch Bottom">
+			<State name="normal" offset = "301 98 15 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "HSlider" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="TrackRangeMargins" value = "2 1" />
+		<Property key="MinTrackSize" value = "7" />
+		<Property key="MoveToClick" value = "true"/>
+
+		<Child type="Button" skin="HScrollRightPart"  offset = "0 0 49 15" align = "Right VStretch" name = "SecondPart"/>
+		<Child type="Button" skin="HScrollLeftPart" offset = "0 0 49 15" align = "Stretch" name = "FirstPart"/>
+
+		<Child type="Button" skin="HScrollTrackSlider" offset = "18 1 7 14" align = "Left VStretch" name = "Track"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
+			<State name="normal" offset = "301 2 6 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
+			<State name="normal" offset = "307 2 37 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
+			<State name="normal" offset = "344 2 6 15"/>
+		</BasisSkin>
+
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "Progress" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="TrackSkin" value = "HScrollTrackSlider" />
+		<Property key="TrackWidth" value = "7" />
+		<Property key="TrackFill" value = "false" />
+
+		<Child type="Widget" skin="Default" offset = "2 1 46 14" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
+			<State name="normal" offset = "301 2 6 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
+			<State name="normal" offset = "307 2 37 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
+			<State name="normal" offset = "344 2 6 15"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ProgressFill" size = "49 15" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="TrackSkin" value = "HScrollTrack" />
+		<Property key="TrackMin" value = "15" />
+		<Property key="TrackFill" value = "true" />
+
+		<Child type="Widget" skin="Default" offset = "2 1 46 14" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 6 15" align = "Left VStretch">
+			<State name="normal" offset = "301 2 6 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 37 15" align = "HStretch VStretch">
+			<State name="normal" offset = "307 2 37 15"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "43 0 6 15" align = "Right VStretch">
+			<State name="normal" offset = "344 2 6 15"/>
+		</BasisSkin>
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "WindowSmallCaption" size = "68 18" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="FontName" value = "font_DejaVuSans.14" />
+		<Property key="TextAlign" value = "Center" />
+		<Property key="TextColour" value = "#{MyGUI_Theme_Button_ColourNormal}"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 18" align = "Left VStretch">
+			<State name="normal" offset = "356 198 10 18"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 46 18" align = "Stretch">
+			<State name="normal" offset = "366 198 46 18"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "56 0 12 18" align = "Right VStretch">
+			<State name="normal" offset = "412 198 12 18"/>
+		</BasisSkin>
+		<BasisSkin type="SimpleText" offset = "2 4 48 15" align = "Stretch"/>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonRoundBlue" size = "14 14" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 14 14" align = "Stretch">
+			<State name="normal" offset = "314 134 14 14"/>
+			<State name="highlighted" offset = "314 148 14 14"/>
+			<State name="pushed" offset = "314 162 14 14"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ButtonRoundGrey" size = "14 14" texture = "#{MyGUI_Theme_Texture}" >
+		<BasisSkin type="MainSkin" offset = "0 0 14 14" align = "Stretch">
+			<State name="normal" offset = "329 134 14 14"/>
+			<State name="highlighted" offset = "329 148 14 14"/>
+			<State name="pushed" offset = "329 162 14 14"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "ListCtrl" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="DragLayer" value = "DragAndDrop" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-9 3 15 -12" align = "Right VStretch" name = "VScroll"/>
+		<Child type="HScroll" skin="HScroll" offset = "3 -9 -12 15" align = "HStretch Bottom" name = "HScroll"/>
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 -12 -12" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "EditStretch2" size = "29 26" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="WordWrap" value = "true" />
+
+		<Child type="Widget" skin="EditClient" offset = "2 3 22 18" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 10 8" align = "Left Top">
+			<State name="disabled" offset = "235 2 10 8"/>
+			<State name="normal" offset = "235 29 10 8"/>
+			<State name="highlighted" offset = "235 56 10 8"/>
+			<State name="normal_checked" offset = "235 83 10 8"/>
+			<State name="pushed" offset = "235 110 10 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 0 7 8" align = "HStretch Top">
+			<State name="disabled" offset = "245 2 7 8"/>
+			<State name="normal" offset = "245 29 7 8"/>
+			<State name="highlighted" offset = "245 56 7 8"/>
+			<State name="normal_checked" offset = "245 83 7 8"/>
+			<State name="pushed" offset = "245 110 7 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 0 12 8" align = "Right Top">
+			<State name="disabled" offset = "252 2 12 8"/>
+			<State name="normal" offset = "252 29 12 8"/>
+			<State name="highlighted" offset = "252 56 12 8"/>
+			<State name="normal_checked" offset = "252 83 12 8"/>
+			<State name="pushed" offset = "252 110 12 8"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 8 10 8" align = "Left VStretch">
+			<State name="disabled" offset = "235 10 10 8"/>
+			<State name="normal" offset = "235 37 10 8"/>
+			<State name="highlighted" offset = "235 64 10 8"/>
+			<State name="normal_checked" offset = "235 91 10 8"/>
+			<State name="pushed" offset = "235 118 10 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 8 7 8" align = "HStretch VStretch">
+			<State name="disabled" offset = "245 10 7 8"/>
+			<State name="normal" offset = "245 37 7 8"/>
+			<State name="highlighted" offset = "245 64 7 8"/>
+			<State name="normal_checked" offset = "245 91 7 8"/>
+			<State name="pushed" offset = "245 118 7 8"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 8 12 8" align = "Right VStretch">
+			<State name="disabled" offset = "252 10 12 8"/>
+			<State name="normal" offset = "252 37 12 8"/>
+			<State name="highlighted" offset = "252 64 12 8"/>
+			<State name="normal_checked" offset = "252 91 12 8"/>
+			<State name="pushed" offset = "252 118 12 8"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 16 10 10" align = "Left Bottom">
+			<State name="disabled" offset = "235 18 10 10"/>
+			<State name="normal" offset = "235 45 10 10"/>
+			<State name="highlighted" offset = "235 72 10 10"/>
+			<State name="normal_checked" offset = "235 99 10 10"/>
+			<State name="pushed" offset = "235 126 10 10"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 16 7 10" align = "HStretch Bottom">
+			<State name="disabled" offset = "245 18 7 10"/>
+			<State name="normal" offset = "245 45 7 10"/>
+			<State name="highlighted" offset = "245 72 7 10"/>
+			<State name="normal_checked" offset = "245 99 7 10"/>
+			<State name="pushed" offset = "245 126 7 10"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "17 16 12 10" align = "Right Bottom">
+			<State name="disabled" offset = "252 18 12 10"/>
+			<State name="normal" offset = "252 45 12 10"/>
+			<State name="highlighted" offset = "252 72 12 10"/>
+			<State name="normal_checked" offset = "252 99 12 10"/>
+			<State name="pushed" offset = "252 126 12 10"/>
+		</BasisSkin>
+
+	</Resource>
+
+
+	<Resource type="ResourceSkin" name = "List2" size = "11 11" texture = "#{MyGUI_Theme_Texture}">
+		<Property key="NeedKey" value = "true" />
+		<Property key="SkinLine" value = "ListLine" />
+		<Property key="HeightLine" value = "20" />
+
+		<Child type="VScroll" skin="VScroll" offset = "-9 3 15 3" align = "Right VStretch" name = "VScroll"/>
+		<Child type="Widget" skin="DefaultClient" offset = "3 3 -12 3" align = "Stretch" name = "Client"/>
+
+		<BasisSkin type="SubSkin" offset = "0 0 3 3" align = "Left Top">
+			<State name="normal" offset = "429 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 0 3 3" align = "HStretch Top">
+			<State name="normal" offset = "435 70 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 0 5 3" align = "Right Top">
+			<State name="normal" offset = "447 70 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 3 3 3" align = "Left VStretch">
+			<State name="normal" offset = "429 76 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 3 5 3" align = "Right VStretch">
+			<State name="normal" offset = "447 76 5 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "0 6 3 5" align = "Left Bottom">
+			<State name="normal" offset = "429 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "3 6 3 5" align = "HStretch Bottom">
+			<State name="normal" offset = "435 87 3 5"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "6 6 5 5" align = "Right Bottom">
+			<State name="normal" offset = "447 87 5 5"/>
+		</BasisSkin>
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowSmallC" size = "75 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowSmallCaption" offset = "6 0 64 18" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<BasisSkin type="SubSkin" offset = "6 18 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 18 54 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "64 18 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "6 21 4 22" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 21 54 22" align = "Stretch">
+			<State name="normal" offset = "432 5 6 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "64 21 6 22" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "6 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 43 54 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "64 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+
+	<Resource type="ResourceSkin" name = "WindowSmallCX" size = "75 49" texture = "#{MyGUI_Theme_Texture}" >
+		<Property key="ToStick" value = "true" />
+
+		<Child type="Button" skin="WindowSmallCaption" offset = "6 0 64 18" align = "HStretch Top" name = "Caption">
+			<Property key="Scale" value = "1 1 0 0"/>
+		</Child>
+
+		<Child type="Button" skin="ButtonX" offset = "54 5 11 11" align = "Right Top" name = "Button">
+			<Property key="Event" value = "close"/>
+		</Child>
+
+		<BasisSkin type="SubSkin" offset = "6 18 4 3" align = "Left Top">
+			<State name="normal" offset = "384 173 4 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 18 54 3" align = "HStretch Top">
+			<State name="normal" offset = "390 173 3 3"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "64 18 6 3" align = "Right Top">
+			<State name="normal" offset = "401 173 6 3"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "6 21 4 22" align = "Left VStretch">
+			<State name="normal" offset = "384 176 4 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 21 54 22" align = "Stretch">
+			<State name="normal" offset = "432 5 6 12"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "64 21 6 22" align = "Right VStretch">
+			<State name="normal" offset = "401 176 6 12"/>
+		</BasisSkin>
+
+		<BasisSkin type="SubSkin" offset = "6 43 4 6" align = "Left Bottom">
+			<State name="normal" offset = "384 188 4 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "10 43 54 6" align = "HStretch Bottom">
+			<State name="normal" offset = "390 188 3 6"/>
+		</BasisSkin>
+		<BasisSkin type="SubSkin" offset = "64 43 6 6" align = "Right Bottom">
+			<State name="normal" offset = "401 188 6 6"/>
+		</BasisSkin>
+
+	</Resource>
+	
+</MyGUI>
+
Index: media/ui/Core/core_font.xml
===================================================================
--- media/ui/Core/core_font.xml	(revision 603)
+++ media/ui/Core/core_font.xml	(working copy)
@@ -1,39 +1,239 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<MyGUI type="Font">
+<MyGUI type="Resource" version="1.1">
 
-  <Font name="Default" default_height="17" source="DejaVuSans.ttf" size="19" resolution="50" antialias_colour="false" space_width="4" tab_width="8" cursor_width="2" distance="6" offset_height="0">
-    <Code range="33 126"/>
-		<Code range="1025 1105"/>
-		<Code range="8470"/>
-		<Code hide="128"/>
-		<Code hide="1026 1039"/>
-		<Code hide="1104"/>
-	</Font>
+	<Resource type="ResourceTrueTypeFont" name="font_DejaVuSans.17">
+		<Property key="Source" value="DejaVuSans.ttf"/>
+		<Property key="Size" value="19"/>
+		<Property key="Resolution" value="50"/>
+		<Property key="Antialias" value="false"/>
+		<Property key="SpaceWidth" value="4"/>
+		<Property key="TabWidth" value="8"/>
+		<Property key="CursorWidth" value="2"/>
+		<Property key="Distance" value="6"/>
+		<Property key="OffsetHeight" value="0"/>
+		<Codes>
+			<Code range="33 126"/>
+			<Code range="1025 1105"/>
+			<Code range="8470"/>
+			<Code hide="128"/>
+			<Code hide="1026 1039"/>
+			<Code hide="1104"/>
+		</Codes>
+	</Resource>
 
-  <Font name="DejaVuSans.17" default_height="17" source="DejaVuSans.ttf" size="19" resolution="50" antialias_colour="false" space_width="4" tab_width="8" cursor_width="2" distance="5" offset_height="0">
-    <Code range="33 126"/>
-    <Code range="1025 1105"/>
-    <Code range="8470"/>
-    <Code hide="128"/>
-    <Code hide="1026 1039"/>
-    <Code hide="1104"/>
-  </Font>
-  
-  <Font name="DejaVuSans.14" default_height="14" source="DejaVuSans.ttf" size="16" resolution="50" antialias_colour="false" space_width="4" tab_width="8" cursor_width="2" distance="7" offset_height="0">
-    <Code range="33 126"/>
-    <Code range="1025 1105"/>
-    <Code range="8470"/>
-    <Code hide="128"/>
-    <Code hide="1026 1039"/>
-    <Code hide="1104"/>
-  </Font>
+	<Resource type="ResourceTrueTypeFont" name="font_DejaVuSans.14">
+		<Property key="Source" value="DejaVuSans.ttf"/>
+		<Property key="Size" value="16"/>
+		<Property key="Resolution" value="50"/>
+		<Property key="Antialias" value="false"/>
+		<Property key="SpaceWidth" value="4"/>
+		<Property key="TabWidth" value="8"/>
+		<Property key="CursorWidth" value="2"/>
+		<Property key="Distance" value="7"/>
+		<Property key="OffsetHeight" value="0"/>
+		<Codes>
+			<Code range="33 126"/>
+			<Code range="1025 1105"/>
+			<Code range="8470"/>
+			<Code hide="128"/>
+			<Code hide="1026 1039"/>
+			<Code hide="1104"/>
+		</Codes>
+	</Resource>
 
-  <Font name="ManualFont" default_height="50" source="core.png">
-    <Code index="48" coord="0 203 50 50"/>
-    <Code index="49" coord="50 203 50 50"/>
-    <Code index="50" coord="100 203 50 50"/>
-    <Code index="51" coord="150 203 50 50"/>
-  </Font>
+	<Resource type="ResourceManualFont" name="font_Micro.11">
+		<Property key="Source" value="core_micro_font.PNG"/>
+		<Property key="DefaultHeight" value="11"/>
+		<Codes>
+			<!--cursor-->
+			<Code index="cursor" coord="10 5 2 4"/>
+			
+			<!--selected-->
+			<Code index="selected" coord="22 5 2 4"/>
+			<Code index="selected_back" coord="32 5 2 4"/>
 
+			<!--space-->
+			<Code index="32" coord="60 2 4 11"/>
+			
+			<!--tab-->
+			<Code index="9" coord="50 2 14 11"/>
+
+			<!--symbol-->
+			<Code index="33" coord="70 2 2 11"/>
+			<Code index="34" coord="80 2 4 11"/>
+			<Code index="35" coord="90 2 7 11"/>
+			<Code index="36" coord="100 2 6 11"/>
+			<Code index="37" coord="110 2 8 11"/>
+			<Code index="38" coord="120 2 7 11"/>
+			<Code index="39" coord="130 2 2 11"/>
+			<Code index="40" coord="140 2 3 11"/>
+			<Code index="41" coord="150 2 3 11"/>
+			<Code index="42" coord="160 2 6 11"/>
+			<Code index="43" coord="170 2 6 11"/>
+			<Code index="44" coord="180 2 3 11"/>
+			<Code index="45" coord="190 2 6 11"/>
+			<Code index="46" coord="200 2 2 11"/>
+			<Code index="47" coord="210 2 5 11"/>
+
+			<Code index="58" coord="320 2 2 11"/>
+			<Code index="59" coord="330 2 3 11"/>
+			<Code index="60" coord="340 2 4 11"/>
+			<Code index="61" coord="350 2 6 11"/>
+			<Code index="62" coord="360 2 4 11"/>
+			<Code index="63" coord="370 2 6 11"/>
+			<Code index="64" coord="380 2 6 11"/>
+
+			<Code index="91" coord="270 14 4 11"/>
+			<Code index="92" coord="280 14 5 11"/>
+			<Code index="93" coord="290 14 4 11"/>
+			<Code index="94" coord="300 14 6 11"/>
+			<Code index="95" coord="310 14 6 11"/>
+			<Code index="96" coord="320 14 3 11"/>
+
+			<Code index="123" coord="270 26 4 11"/>
+			<Code index="124" coord="280 26 2 11"/>
+			<Code index="125" coord="290 26 4 11"/>
+			<Code index="126" coord="300 26 6 11"/>
+
+			<!--0-9-->
+			<Code index="48" coord="220 2 6 11"/>
+			<Code index="49" coord="230 2 4 11"/>
+			<Code index="50" coord="240 2 6 11"/>
+			<Code index="51" coord="250 2 6 11"/>
+			<Code index="52" coord="260 2 6 11"/>
+			<Code index="53" coord="270 2 6 11"/>
+			<Code index="54" coord="280 2 6 11"/>
+			<Code index="55" coord="290 2 6 11"/>
+			<Code index="56" coord="300 2 6 11"/>
+			<Code index="57" coord="310 2 6 11"/>
+
+			<!--A-Z-->
+			<Code index="65" coord="10 14 6 11"/>
+			<Code index="66" coord="20 14 6 11"/>
+			<Code index="67" coord="30 14 6 11"/>
+			<Code index="68" coord="40 14 6 11"/>
+			<Code index="69" coord="50 14 5 11"/>
+			<Code index="70" coord="60 14 5 11"/>
+			<Code index="71" coord="70 14 6 11"/>
+			<Code index="72" coord="80 14 6 11"/>
+			<Code index="73" coord="90 14 2 11"/>
+			<Code index="74" coord="100 14 5 11"/>
+			<Code index="75" coord="110 14 6 11"/>
+			<Code index="76" coord="120 14 5 11"/>
+			<Code index="77" coord="130 14 8 11"/>
+			<Code index="78" coord="140 14 6 11"/>
+			<Code index="79" coord="150 14 6 11"/>
+			<Code index="80" coord="160 14 6 11"/>
+			<Code index="81" coord="170 14 6 11"/>
+			<Code index="82" coord="180 14 6 11"/>
+			<Code index="83" coord="190 14 6 11"/>
+			<Code index="84" coord="200 14 6 11"/>
+			<Code index="85" coord="210 14 6 11"/>
+			<Code index="86" coord="220 14 6 11"/>
+			<Code index="87" coord="230 14 8 11"/>
+			<Code index="88" coord="240 14 6 11"/>
+			<Code index="89" coord="250 14 6 11"/>
+			<Code index="90" coord="260 14 6 11"/>
+
+			<!--a-z-->
+			<Code index="97" coord="10 26 6 11"/>
+			<Code index="98" coord="20 26 6 11"/>
+			<Code index="99" coord="30 26 6 11"/>
+			<Code index="100" coord="40 26 6 11"/>
+			<Code index="101" coord="50 26 6 11"/>
+			<Code index="102" coord="60 26 5 11"/>
+			<Code index="103" coord="70 26 6 11"/>
+			<Code index="104" coord="80 26 6 11"/>
+			<Code index="105" coord="90 26 2 11"/>
+			<Code index="106" coord="100 26 4 11"/>
+			<Code index="107" coord="110 26 6 11"/>
+			<Code index="108" coord="120 26 2 11"/>
+			<Code index="109" coord="130 26 8 11"/>
+			<Code index="110" coord="140 26 6 11"/>
+			<Code index="111" coord="150 26 6 11"/>
+			<Code index="112" coord="160 26 6 11"/>
+			<Code index="113" coord="170 26 6 11"/>
+			<Code index="114" coord="180 26 5 11"/>
+			<Code index="115" coord="190 26 6 11"/>
+			<Code index="116" coord="200 26 6 11"/>
+			<Code index="117" coord="210 26 6 11"/>
+			<Code index="118" coord="220 26 6 11"/>
+			<Code index="119" coord="230 26 8 11"/>
+			<Code index="120" coord="240 26 6 11"/>
+			<Code index="121" coord="250 26 6 11"/>
+			<Code index="122" coord="260 26 6 11"/>
+			
+			<!--А-Я, Ё-->
+			<Code index="1040" coord="10 38 6 11"/>
+			<Code index="1041" coord="20 38 6 11"/>
+			<Code index="1042" coord="30 38 6 11"/>
+			<Code index="1043" coord="40 38 5 11"/>
+			<Code index="1044" coord="50 38 8 11"/>
+			<Code index="1045" coord="60 38 5 11"/>
+			<Code index="1046" coord="70 38 10 11"/>
+			<Code index="1047" coord="80 38 6 11"/>
+			<Code index="1048" coord="90 38 6 11"/>
+			<Code index="1049" coord="100 38 6 11"/>
+			<Code index="1050" coord="110 38 6 11"/>
+			<Code index="1051" coord="120 38 7 11"/>
+			<Code index="1052" coord="130 38 8 11"/>
+			<Code index="1053" coord="140 38 6 11"/>
+			<Code index="1054" coord="150 38 6 11"/>
+			<Code index="1055" coord="160 38 6 11"/>
+			<Code index="1056" coord="170 38 6 11"/>
+			<Code index="1057" coord="180 38 6 11"/>
+			<Code index="1058" coord="190 38 6 11"/>
+			<Code index="1059" coord="200 38 6 11"/>
+			<Code index="1060" coord="210 38 8 11"/>
+			<Code index="1061" coord="220 38 6 11"/>
+			<Code index="1062" coord="230 38 7 11"/>
+			<Code index="1063" coord="240 38 6 11"/>
+			<Code index="1064" coord="250 38 8 11"/>
+			<Code index="1065" coord="260 38 9 11"/>
+			<Code index="1066" coord="270 38 8 11"/>
+			<Code index="1067" coord="280 38 8 11"/>
+			<Code index="1068" coord="290 38 6 11"/>
+			<Code index="1069" coord="300 38 6 11"/>
+			<Code index="1070" coord="310 38 8 11"/>
+			<Code index="1071" coord="320 38 6 11"/>
+			<Code index="1025" coord="330 38 5 11"/>
+
+			<!--а-я, ё-->
+			<Code index="1072" coord="10 50 6 11"/>
+			<Code index="1073" coord="20 50 6 11"/>
+			<Code index="1074" coord="30 50 6 11"/>
+			<Code index="1075" coord="40 50 5 11"/>
+			<Code index="1076" coord="50 50 7 11"/>
+			<Code index="1077" coord="60 50 6 11"/>
+			<Code index="1078" coord="70 50 8 11"/>
+			<Code index="1079" coord="80 50 6 11"/>
+			<Code index="1080" coord="90 50 6 11"/>
+			<Code index="1081" coord="100 50 6 11"/>
+			<Code index="1082" coord="110 50 6 11"/>
+			<Code index="1083" coord="120 50 6 11"/>
+			<Code index="1084" coord="130 50 6 11"/>
+			<Code index="1085" coord="140 50 6 11"/>
+			<Code index="1086" coord="150 50 6 11"/>
+			<Code index="1087" coord="160 50 6 11"/>
+			<Code index="1088" coord="170 50 6 11"/>
+			<Code index="1089" coord="180 50 6 11"/>
+			<Code index="1090" coord="190 50 6 11"/>
+			<Code index="1091" coord="200 50 6 11"/>
+			<Code index="1092" coord="210 50 8 11"/>
+			<Code index="1093" coord="220 50 6 11"/>
+			<Code index="1094" coord="230 50 6 11"/>
+			<Code index="1095" coord="240 50 6 11"/>
+			<Code index="1096" coord="250 50 8 11"/>
+			<Code index="1097" coord="260 50 9 11"/>
+			<Code index="1098" coord="270 50 8 11"/>
+			<Code index="1099" coord="280 50 8 11"/>
+			<Code index="1100" coord="290 50 6 11"/>
+			<Code index="1101" coord="300 50 6 11"/>
+			<Code index="1102" coord="310 50 8 11"/>
+			<Code index="1103" coord="320 50 6 11"/>
+			<Code index="1105" coord="330 50 6 11"/>
+		</Codes>
+	</Resource>
+	
 </MyGUI>
Index: media/ui/Paused.layout
===================================================================
--- media/ui/Paused.layout	(revision 603)
+++ media/ui/Paused.layout	(working copy)
@@ -2,19 +2,22 @@
 <MyGUI type="Layout">
     <Widget type="StaticImage" skin="StaticImage" position_real="0.329102 0.158854 0.329102 0.658854" layer="Main">
         <Property key="Image_Texture" value="MessageBoxBack.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
         <Widget type="Button" skin="Button" position_real="0.246291 0.0988142 0.477745 0.0790514" name="ButtonResume">
             <Property key="Widget_Caption" value="Resume game"/>
+            <Property key="Widget_Visible" value="true"/>
         </Widget>
         <Widget type="Button" skin="Button" position_real="0.246291 0.310277 0.477745 0.0790514" name="ButtonExit">
             <Property key="Widget_Caption" value="Quit game"/>
+            <Property key="Widget_Visible" value="true"/>
         </Widget>
         <Widget type="Button" skin="Button" position_real="0.249258 0.199605 0.47181 0.083004"  name="ButtonConfig">
             <Property key="Widget_Caption" value="Options"/>
+            <Property key="Widget_Visible" value="true"/>
         </Widget>
     </Widget>
     <Widget type="StaticImage" skin="StaticImage" position_real="0 0 1 1" align="Stretch" layer="Back">
         <Property key="Image_Texture" value="darkblue_t.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
     </Widget>
 </MyGUI>
Index: media/ui/MessageBox.layout
===================================================================
--- media/ui/MessageBox.layout	(revision 603)
+++ media/ui/MessageBox.layout	(working copy)
@@ -2,13 +2,13 @@
 <MyGUI type="Layout">
     <Widget type="StaticImage" skin="StaticImage" position_real="0.299805 0.0494792 0.399414 0.89974" layer="Main" name="Panel01">
         <Property key="Image_Texture" value="MessageBoxBack.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
         <Widget type="Edit" skin="WordWrapSimple" position_real="0.0953545 0.0781476 0.819071 0.0593343" layer="Main" name="Text01">
             <Property key="Widget_Caption" value="Insert blabla here"/>
             <Property key="Edit_ReadOnly" value="true"/>
             <Property key="Edit_WordWrap" value="true"/>
             <Property key="Edit_MultiLine" value="true"/>
-            <Property key="Widget_Colour" value="#000000"/>
+            <Property key="Text_TextColour" value="#000000"/>
         </Widget>
         <Widget type="Button" skin="Button" position_real="0.246944 0.163531 0.528117 0.0564399" name="Button00">
             <Property key="Widget_Caption" value="Button 00"/>
@@ -49,6 +49,6 @@
     </Widget>
     <Widget type="StaticImage" skin="StaticImage" position_real="0 0 1 1" align="Stretch" layer="Back">
         <Property key="Image_Texture" value="darkblue_t.png"/>
-        <Property key="Widget_Show" value="true"/>
+        <Property key="Widget_Visible" value="true"/>
     </Widget>
 </MyGUI>
Index: cmake/FindMYGUI.cmake
===================================================================
--- cmake/FindMYGUI.cmake	(revision 603)
+++ cmake/FindMYGUI.cmake	(working copy)
@@ -41,6 +41,7 @@
     IF (MYGUI_INCLUDE_DIRS)
         SET(MYGUI_INCLUDE_DIR ${MYGUI_INCLUDE_DIRS})
         SET(MYGUI_LIB_DIR ${MYGUI_LIBDIR})
+        SET(MYGUI_PLUGIN_DIR ${MYGUI_LIBDIR}/MYGUI)
         SET(MYGUI_LIBRARIES ${MYGUI_LIBRARIES} CACHE STRING "")
     ELSE (MYGUI_INCLUDE_DIRS)
         FIND_PATH(MYGUI_INCLUDE_DIR MyGUI.h PATHS /usr/local/include /usr/include PATH_SUFFIXES MyGUI MYGUI)
Index: src/GuiConsole.h
===================================================================
--- src/GuiConsole.h	(revision 603)
+++ src/GuiConsole.h	(working copy)
@@ -38,16 +38,16 @@
     virtual void unregisterEvents() {};
 
     void loadHistory();
-    void addHistory(const Ogre::UTFString& cmd);
+    void addHistory(const MyGUI::UString& cmd);
     void clearHistory();
 
-    void processCommand(const Ogre::UTFString& cmd);
+    void processCommand(const MyGUI::UString& cmd);
 
     bool m_resumeRequested, m_quitRequested;
     string m_script;
     string m_command;
 
-    static vector<Ogre::UTFString> m_commands;
+    static vector<MyGUI::UString> m_commands;
     static string m_history;
 
     MyGUI::EditPtr     m_listHistory;
Index: src/GameState.h
===================================================================
--- src/GameState.h	(revision 603)
+++ src/GameState.h	(working copy)
@@ -4,7 +4,7 @@
 #ifndef GameState_H
 #define GameState_H
 
-#include <OISEvents.h>
+#include <OIS/OISEvents.h>
 #include "GameManager.h"
 
 
Index: src/scripting/CMakeLists.txt
===================================================================
--- src/scripting/CMakeLists.txt	(revision 603)
+++ src/scripting/CMakeLists.txt	(working copy)
@@ -3,6 +3,7 @@
 include_directories("..")
 include_directories("../myguiWrapper")
 include_directories(${PYTHON_INCLUDE_PATH})
+include_directories(${OGRE_INCLUDE_DIR})
 include_directories(${MYGUI_INCLUDE_DIR})
 include_directories(${OIS_INCLUDE_DIR})
 include_directories("../btogre/include")
Index: src/GuiConsole.cpp
===================================================================
--- src/GuiConsole.cpp	(revision 603)
+++ src/GuiConsole.cpp	(working copy)
@@ -6,7 +6,7 @@
 
 
 // We keep the list of typed commands between 2 console calls
-vector<Ogre::UTFString> GuiConsole::m_commands;
+vector<MyGUI::UString> GuiConsole::m_commands;
 string GuiConsole::m_history;
 
 
@@ -25,8 +25,8 @@
 void GuiConsole::loadLayout()
 {
     m_widgets = LayoutManager::getInstance().load("Console.layout");
-    m_listHistory   = WidgetManager::getInstancePtr()->findWidget<Edit>("ListHistory");
-    m_comboCommand  = WidgetManager::getInstancePtr()->findWidget<ComboBox>("ComboCommand");
+    m_listHistory   = m_gui->getGui()->findWidget<Edit>("ListHistory");
+    m_comboCommand  = m_gui->getGui()->findWidget<ComboBox>("ComboCommand");
     loadHistory();
     m_gui->showPointer();
     InputManager::getInstance().setKeyFocusWidget(m_comboCommand);
@@ -49,7 +49,7 @@
 */
 void GuiConsole::registerEvents()
 {
-    WindowPtr windowConsole = WidgetManager::getInstancePtr()->findWidget<Window>("WindowConsole");
+    WindowPtr windowConsole = m_gui->getGui()->findWidget<Window>("WindowConsole");
     windowConsole->eventWindowButtonPressed = newDelegate(this, &GuiConsole::close);
 
     assignButton("ButtonSubmit", this, &GuiConsole::submit);
@@ -62,7 +62,7 @@
 */
 void GuiConsole::loadHistory()
 {
-    for (vector<Ogre::UTFString>::iterator iter = m_commands.begin(); iter != m_commands.end(); iter++)
+    for (vector<MyGUI::UString>::iterator iter = m_commands.begin(); iter != m_commands.end(); iter++)
     {
         m_comboCommand->addItem(*iter);
     }
@@ -73,7 +73,7 @@
 /**
     Add a new command to history
 */
-void GuiConsole::addHistory(const Ogre::UTFString& cmd)
+void GuiConsole::addHistory(const MyGUI::UString& cmd)
 {
     m_commands.push_back(cmd);
 
@@ -97,7 +97,7 @@
 */
 void GuiConsole::clearHistory()
 {
-    m_comboCommand->deleteAllItems();
+    m_comboCommand->removeAllItems();
     m_listHistory->setCaption("");
     m_commands.clear();
     m_history.clear();
@@ -134,7 +134,7 @@
 /**
     Execute a command
 */
-void GuiConsole::processCommand(const Ogre::UTFString& cmd)
+void GuiConsole::processCommand(const MyGUI::UString& cmd)
 {
     bool ok = false;
 
Index: src/GameManager.h
===================================================================
--- src/GameManager.h	(revision 603)
+++ src/GameManager.h	(working copy)
@@ -5,6 +5,8 @@
 #include <vector>
 #include <OgreSingleton.h>
 #include <OgreSceneManager.h>
+#include <OgreFrameListener.h>
+
 #include "InputManager.h"
 
 
Index: src/GuiState.h
===================================================================
--- src/GuiState.h	(revision 603)
+++ src/GuiState.h	(working copy)
@@ -2,7 +2,6 @@
 #define GuiState_H
 
 #include <string>
-#include <OgreString.h>
 #include <OIS/OISEvents.h>
 #include "GameState.h"
 
Index: src/GuiHUD.cpp
===================================================================
--- src/GuiHUD.cpp	(revision 603)
+++ src/GuiHUD.cpp	(working copy)
@@ -28,28 +28,27 @@
 void GuiHUD::loadLayout()
 {
     m_widgets = LayoutManager::getInstance().load("HUD.layout");
-    WidgetManager::getInstance().findWidget<StaticText>("TextDebug")->setColour(Colour::Red);
+    m_gui->getGui()->findWidget<StaticText>("TextDebug")->setTextColour(Colour::Red);
     clearWeapon();
     m_gui->hidePointer();
     if (!m_showStats)
     {
-        WidgetManager::getInstance().findWidget<StaticText>("TextStats")->setVisible(false);
+        m_gui->getGui()->findWidget<StaticText>("TextStats")->setVisible(false);
     }
 }
 
 
 void GuiHUD::update()
 {
-    WidgetManager* wmgr = WidgetManager::getInstancePtr();
-    StaticImagePtr healthBar =      wmgr->findWidget<StaticImage>("BarHealth");
-    StaticImagePtr healthBarOpp =   wmgr->findWidget<StaticImage>("BarHealthOpp");
-    StaticImagePtr magicBar =       wmgr->findWidget<StaticImage>("BarMagica");
-    StaticImagePtr magicBarOpp =    wmgr->findWidget<StaticImage>("BarMagicaOpp");
-    StaticImagePtr fatigueBar =     wmgr->findWidget<StaticImage>("BarStamina");
-    StaticImagePtr fatigueBarOpp =  wmgr->findWidget<StaticImage>("BarStaminaOpp");
-    StaticTextPtr debugText =       wmgr->findWidget<StaticText>("TextDebug");
-    StaticTextPtr infoText =        wmgr->findWidget<StaticText>("TextInfo");
-    StaticTextPtr statsText =       wmgr->findWidget<StaticText>("TextStats");
+    StaticImagePtr healthBar =      m_gui->getGui()->findWidget<StaticImage>("BarHealth");
+    StaticImagePtr healthBarOpp =   m_gui->getGui()->findWidget<StaticImage>("BarHealthOpp");
+    StaticImagePtr magicBar =       m_gui->getGui()->findWidget<StaticImage>("BarMagica");
+    StaticImagePtr magicBarOpp =    m_gui->getGui()->findWidget<StaticImage>("BarMagicaOpp");
+    StaticImagePtr fatigueBar =     m_gui->getGui()->findWidget<StaticImage>("BarStamina");
+    StaticImagePtr fatigueBarOpp =  m_gui->getGui()->findWidget<StaticImage>("BarStaminaOpp");
+    StaticTextPtr debugText =       m_gui->getGui()->findWidget<StaticText>("TextDebug");
+    StaticTextPtr infoText =        m_gui->getGui()->findWidget<StaticText>("TextInfo");
+    StaticTextPtr statsText =       m_gui->getGui()->findWidget<StaticText>("TextStats");
 
     debugText->setCaption(m_debug);
     infoText->setCaption(m_info);
@@ -89,7 +88,7 @@
 
     if (m_oldweapon != m_weapon)
     {
-        StaticImagePtr weapon = wmgr->findWidget<StaticImage>("ImageWeapon");
+        StaticImagePtr weapon = m_gui->getGui()->findWidget<StaticImage>("ImageWeapon");
         if (m_weapon != "")
         {
             weapon->setImageTexture(m_weapon);
@@ -104,7 +103,7 @@
 
     if (m_oldspell != m_spell)
     {
-        StaticImagePtr spell = wmgr->findWidget<StaticImage>("ImageSpell");
+        StaticImagePtr spell = m_gui->getGui()->findWidget<StaticImage>("ImageSpell");
         if (m_spell != "")
         {
             spell->setImageTexture(m_spell);
Index: src/GuiPaused.cpp
===================================================================
--- src/GuiPaused.cpp	(revision 603)
+++ src/GuiPaused.cpp	(working copy)
@@ -18,14 +18,15 @@
 {
     m_widgets = LayoutManager::getInstance().load("Paused.layout");
     m_gui->showPointer();
+    
 
     Config* config = Config::getSingletonPtr();
     if(!config->get<int>("enableGuiConfig"))
     {
-        MyGUI::WidgetManager* wmgr = MyGUI::WidgetManager::getInstancePtr();
-        MyGUI::WidgetPtr wdg = wmgr->findWidgetT("ButtonConfig");
+        MyGUI::WidgetPtr wdg = m_gui->getGui()->findWidget<MyGUI::Button>("ButtonConfig");
         wdg->setVisible(false);
     }
+
 }
 
 
Index: src/InputManager.h
===================================================================
--- src/InputManager.h	(revision 603)
+++ src/InputManager.h	(working copy)
@@ -6,6 +6,7 @@
 #include <OIS/OISJoyStick.h>
 #include <OIS/OISInputManager.h>
 #include <OgreRenderWindow.h>
+#include <OgrePrerequisites.h>
 
 class InputManager : public OIS::KeyListener, public OIS::MouseListener, public OIS::JoyStickListener {
 public:
Index: src/GuiDialogue.cpp
===================================================================
--- src/GuiDialogue.cpp	(revision 603)
+++ src/GuiDialogue.cpp	(working copy)
@@ -24,8 +24,8 @@
 void GuiDialogue::loadLayout()
 {
     m_widgets = LayoutManager::getInstance().load("dialogue.layout");
-    m_outputText = WidgetManager::getInstancePtr()->findWidget<Edit>("outputText");
-    m_responseList = WidgetManager::getInstancePtr()->findWidget<List>("responseList");
+    m_outputText = m_gui->findWidget<Edit>("outputText");
+    m_responseList = m_gui->findWidget<List>("responseList");
     m_gui->showPointer();
 }
 
Index: src/GameManager.cpp
===================================================================
--- src/GameManager.cpp	(revision 603)
+++ src/GameManager.cpp	(working copy)
@@ -96,7 +96,7 @@
 
     m_entityMgr = EntityManager::getSingletonPtr();
 
-    m_gui = new UiManager(win);
+    m_gui = new UiManager(win, m_sceneMgr);
     m_gui->initialize();
 
     changeState(state);
Index: src/myguiWrapper/UiManager.cpp
===================================================================
--- src/myguiWrapper/UiManager.cpp	(revision 603)
+++ src/myguiWrapper/UiManager.cpp	(working copy)
@@ -4,8 +4,9 @@
 
 template<> UiManager* Ogre::Singleton<UiManager>::ms_Singleton = 0;
 
-UiManager::UiManager(Ogre::RenderWindow* window)
+UiManager::UiManager(Ogre::RenderWindow* window, Ogre::SceneManager* scene)
     : m_renderWindow(window),
+    m_sceneManager(scene),
     m_gui(0)
 {
 }
@@ -16,13 +17,24 @@
     {
         m_gui->shutdown();
         delete m_gui;
+        m_gui = 0;
     }
+    if(m_platform)
+    {
+        m_platform->shutdown();
+        delete m_platform;
+        m_platform = 0;
+    }
 }
 
 void UiManager::initialize()
 {
+    m_platform = new MyGUI::OgrePlatform();
+    // m_renderWindow is Ogre::RenderWindow* where you want to render MyGUI
+    m_platform->initialise(m_renderWindow, m_sceneManager); 
+    m_platform->getRenderManagerPtr()->setActiveViewport(0);
     m_gui = new MyGUI::Gui();
-    m_gui->initialise(m_renderWindow, "core.xml");
+    m_gui->initialise("core.xml");
 }
 
 #if 0
@@ -78,7 +90,7 @@
 {
     if(m_gui)
     {
-        m_gui->injectKeyPress(arg);
+        m_gui->injectKeyPress(MyGUI::KeyCode::Enum(arg.key), arg.text);
     }
 }
 
@@ -86,14 +98,14 @@
 {
     if(m_gui)
     {
-        m_gui->injectKeyRelease(arg);
+	m_gui->injectKeyRelease(MyGUI::KeyCode::Enum(arg.key));
     }
 }
 void UiManager::injectMouseMove(const OIS::MouseEvent& arg)
 {
     if(m_gui)
     {
-        m_gui->injectMouseMove(arg);
+        m_gui->injectMouseMove(arg.state.X.abs, arg.state.Y.abs, arg.state.Z.abs);
     }
 }
 
@@ -101,7 +113,7 @@
 {
     if(m_gui)
     {
-        m_gui->injectMousePress(arg, id);
+        m_gui->injectMousePress(arg.state.X.abs, arg.state.Y.abs, MyGUI::MouseButton::Enum(id));
     }
 }
 
@@ -109,7 +121,7 @@
 {
     if(m_gui)
     {
-        m_gui->injectMouseRelease(arg, id);
+        m_gui->injectMouseRelease(arg.state.X.abs, arg.state.Y.abs, MyGUI::MouseButton::Enum(id));
     }
 }
 
Index: src/myguiWrapper/UiManager.h
===================================================================
--- src/myguiWrapper/UiManager.h	(revision 603)
+++ src/myguiWrapper/UiManager.h	(working copy)
@@ -2,7 +2,11 @@
 #define UIMANAGER_H_
 
 #include <MyGUI_Gui.h>
+#include <MyGUI_OgrePlatform.h>
+#include <OIS/OISMouse.h>
+#include <OIS/OISKeyboard.h>
 #include <OgreSingleton.h>
+#include <OgreStringVector.h>
 
 /**
     UI Manager class: abstraction of the GUI framework
@@ -13,7 +17,7 @@
     /**
         Constructor
     */
-    UiManager(Ogre::RenderWindow* window);
+    UiManager(Ogre::RenderWindow* window, Ogre::SceneManager* scene);
 
     /**
         Destructor
@@ -30,6 +34,11 @@
     MyGUI::Gui* getGui() { return m_gui; }
 
     /**
+        Accessor
+    */
+    MyGUI::OgrePlatform* getOgrePlatform() { return m_platform; }
+
+    /**
         Initialize the manager
     */
     void initialize();
@@ -50,8 +59,8 @@
     void injectMouseRelease(const OIS::MouseEvent& arg, OIS::MouseButtonID id);
 
     /* Pointer management */
-    void showPointer() { m_gui->showPointer(); }
-    void hidePointer() { m_gui->hidePointer(); }
+    void showPointer() { m_gui->setVisiblePointer(true); }
+    void hidePointer() { m_gui->setVisiblePointer(false); }
 
     /**
         Widget accessor
@@ -101,7 +110,9 @@
 
     UiModList m_uiMods;                     /// List of UIMODs
     Ogre::RenderWindow* m_renderWindow;     /// Render window
+    Ogre::SceneManager* m_sceneManager;     /// Scene manager
     MyGUI::Gui* m_gui;                      /// GUI framework instance
+    MyGUI::OgrePlatform* m_platform;        /// GUI OGRE platform
 };
 
 #endif
Index: src/GuiMessagebox.cpp
===================================================================
--- src/GuiMessagebox.cpp	(revision 603)
+++ src/GuiMessagebox.cpp	(working copy)
@@ -33,10 +33,8 @@
     const float buttonShiftFactor = 1.3f;
     float guiScale = (float) ( GameManager::getSingletonPtr()->getWindow()->getWidth() ) / 640.0f;
 
-    WidgetManager* wmgr = WidgetManager::getInstancePtr();
-
     // Scale font according to resolution
-    EditPtr txt = wmgr->findWidget<Edit>("Text01");
+    EditPtr txt = m_gui->getGui()->findWidget<Edit>("Text01");
     int fntHeight = txt->getFontHeight();
     txt->setFontHeight( (int) ((float)fntHeight * guiScale) );
     txt->setCaption(m_messageCaption);
@@ -55,11 +53,11 @@
     txtsz.height = (int) ( (float)txtsz.height * (float)height );
     txt->setSize(txtsz);
 
-    ButtonPtr but0 = wmgr->findWidget<Button>("Button00");
+    ButtonPtr but0 = m_gui->getGui()->findWidget<Button>("Button00");
     int butHeight = but0->getSize().height;
 
     // Adjust panel size according to length of text and number of buttons
-    WidgetPtr pan = wmgr->findWidget<Widget>("Panel01");
+    WidgetPtr pan = m_gui->getGui()->findWidget<Widget>("Panel01");
     IntSize pansz = pan->getSize();
     pansz.width = (int) ((float)txtsz.width * textPanelRatio);
     pansz.height = butHeight * ( buttonSlotsReserve + height + (m_numOptions * guiScale / buttonShiftFactor) );
@@ -84,7 +82,7 @@
         id[0] = '0' + i/10;
         id[1] = '0' + i%10;
         buttonName = buttonPrefix + id;
-        ButtonPtr but = wmgr->findWidget<Button>(buttonName);
+        ButtonPtr but = m_gui->getGui()->findWidget<Button>(buttonName);
         IntPoint butps = but->getPosition();
         butps.left = (pansz.width / 2) - (but->getWidth() / 2);
         butps.top += (int) ( (float)(txtsz.height - oldHeight) / buttonShiftFactor );
Index: src/GuiDialogue.h
===================================================================
--- src/GuiDialogue.h	(revision 603)
+++ src/GuiDialogue.h	(working copy)
@@ -37,7 +37,7 @@
 private:
     MyGUI::EditPtr m_outputText;
     MyGUI::ListPtr m_responseList;
-    Ogre::UTFString m_dialogue; // All dialogue that has already been spoken
+    MyGUI::UString m_dialogue; // All dialogue that has already been spoken
 };
 
 #endif // GUIDIALOGUE_H
Index: src/GuiConfig.cpp
===================================================================
--- src/GuiConfig.cpp	(revision 603)
+++ src/GuiConfig.cpp	(working copy)
@@ -40,18 +40,16 @@
 */
 void GuiConfig::registerEvents()
 {
-    MyGUI::WidgetManager* wmgr = MyGUI::WidgetManager::getInstancePtr();
-
-    MyGUI::HScroll* ambvol = wmgr->findWidget<MyGUI::HScroll>("SliderAudAmbient");
+    MyGUI::HScroll* ambvol = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderAudAmbient");
     ambvol->eventScrollChangePosition = MyGUI::newDelegate(this, &GuiConfig::onChangeVolume);
 
-    MyGUI::HScroll* musvol = wmgr->findWidget<MyGUI::HScroll>("SliderAudMusic");
+    MyGUI::HScroll* musvol = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderAudMusic");
     musvol->eventScrollChangePosition = MyGUI::newDelegate(this, &GuiConfig::onChangeVolume);
 
-    MyGUI::HScroll* pspd = wmgr->findWidget<MyGUI::HScroll>("SliderPlaySpeed");
+    MyGUI::HScroll* pspd = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderPlaySpeed");
     pspd->eventScrollChangePosition = MyGUI::newDelegate(this, &GuiConfig::onChangeSpeed);
 
-    MyGUI::HScroll* pgrv = wmgr->findWidget<MyGUI::HScroll>("SliderPlayGravity");
+    MyGUI::HScroll* pgrv = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderPlayGravity");
     pgrv->eventScrollChangePosition = MyGUI::newDelegate(this, &GuiConfig::onChangeGravity);
 }
 
@@ -62,31 +60,30 @@
 void GuiConfig::update()
 {
     Config* config = Config::getSingletonPtr();
-    MyGUI::WidgetManager* wmgr = MyGUI::WidgetManager::getInstancePtr();
 
     try {
-        MyGUI::HScroll* speed = wmgr->findWidget<MyGUI::HScroll>("SliderPlaySpeed");
+        MyGUI::HScroll* speed = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderPlaySpeed");
         speed->setScrollRange(21);
         //speed->setScrollPosition( static_cast<int>( config->getFloat("speed") ) );
         speed->setScrollPosition(config->get<int>("dayScale", 0.8f));
 
-        MyGUI::HScroll* gravity = wmgr->findWidget<MyGUI::HScroll>("SliderPlayGravity");
+        MyGUI::HScroll* gravity = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderPlayGravity");
         gravity->setScrollRange(1001);
         gravity->setScrollPosition(config->get<float>("gravity", 192.913f));
 
-        MyGUI::Button* grass = wmgr->findWidget<MyGUI::Button>("CheckGraGrass");
+        MyGUI::Button* grass = m_gui->getGui()->findWidget<MyGUI::Button>("CheckGraGrass");
         if(config->get<int>("doGrass", 1) == 1)
             grass->setButtonPressed(true);
 
-        MyGUI::Button* reflect = wmgr->findWidget<MyGUI::Button>("CheckGraReflect");
+        MyGUI::Button* reflect = m_gui->getGui()->findWidget<MyGUI::Button>("CheckGraReflect");
         if(config->get<int>("doWaterReflection", 1) == 1)
             reflect->setButtonPressed(true);
 
-        MyGUI::HScroll* ambvol = wmgr->findWidget<MyGUI::HScroll>("SliderAudAmbient");
+        MyGUI::HScroll* ambvol = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderAudAmbient");
         ambvol->setScrollRange(11);
         ambvol->setScrollPosition(config->get<float>("ambientVolume", 1.0f) * 10.0);
 
-        MyGUI::HScroll* musvol = wmgr->findWidget<MyGUI::HScroll>("SliderAudMusic");
+        MyGUI::HScroll* musvol = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderAudMusic");
         musvol->setScrollRange(11);
         musvol->setScrollPosition(config->get<float>("musicVolume", 1.0f) * 10.0);
 
@@ -117,12 +114,12 @@
         }
         */
 
-        MyGUI::HScroll* mssx = wmgr->findWidget<MyGUI::HScroll>("SliderMouSensX");
+        MyGUI::HScroll* mssx = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderMouSensX");
         mssx->setScrollRange(11);
-        MyGUI::HScroll* mssy = wmgr->findWidget<MyGUI::HScroll>("SliderMouSensY");
+        MyGUI::HScroll* mssy = m_gui->getGui()->findWidget<MyGUI::HScroll>("SliderMouSensY");
         mssy->setScrollRange(11);
 
-        MyGUI::Button* msinv = wmgr->findWidget<MyGUI::Button>("CheckMouInvert");
+        //MyGUI::Button* msinv = m_gui->getGui()->findWidget<MyGUI::Button>("CheckMouInvert");
     }
     catch(...)
     {
Index: src/MainmenuState.cpp
===================================================================
--- src/MainmenuState.cpp	(revision 603)
+++ src/MainmenuState.cpp	(working copy)
@@ -49,7 +49,7 @@
 void MainmenuState::resume()
 {
     /* For test only: normally we never resume to this state */
-    MyGUI::LayerManager::getInstance().setSceneManager(m_sceneMgr);
+    m_GUI->getOgrePlatform()->getRenderManagerPtr()->setSceneManager(m_sceneMgr);
     updateMenuState();
 }
 
Index: src/CMakeLists.txt
===================================================================
--- src/CMakeLists.txt	(revision 603)
+++ src/CMakeLists.txt	(working copy)
@@ -5,7 +5,7 @@
 
 link_directories(${OGRE_LIB_DIR} ${OGREPG_LIB_DIR} ${OIS_LIB_DIR} ${MYGUI_LIB_DIR}
     ${OPENAL_LIB_DIR} ${ALURE_LIB_DIR} ${BULLET_LIB_DIR} ${PYTHON_LIB_DIR}
-    ${YAML_CPP_LIB_DIR})
+    ${YAML_CPP_LIB_DIR} ${MYGUI_PLUGIN_DIR})
 
 set(cxx_main_files
     Actor.cpp
@@ -126,7 +126,7 @@
 
     add_custom_command(
         OUTPUT DungeonHack.h.gch
-        COMMAND ${CMAKE_CXX_COMPILER} ${GCH_FLAGS} -c DungeonHack.h -o DungeonHack.h.gch
+        COMMAND ${CMAKE_CXX_COMPILER} ${GCH_FLAGS} -x c++-header -c DungeonHack.h -o DungeonHack.h.gch
     )
     set_source_files_properties(${cxx_main_files} PROPERTIES
         OBJECT_DEPENDS "src/DungeonHack.h.gch"
