diff --git a/Chapters/ch01-an-example-application.xml b/Chapters/ch01-an-example-application.xml
index 8816d9a..c128101 100644
--- a/Chapters/ch01-an-example-application.xml
+++ b/Chapters/ch01-an-example-application.xml
@@ -195,7 +195,7 @@ ENDPROC
REM Load the window templates
-DIM TemplateName% 12
+DIM TemplateName% 11
SYS "Wimp_OpenTemplate",,"<PaneDemo$Dir>.Templates"
@@ -211,12 +211,12 @@ SYS "Wimp_CloseTemplate"
The code opens the
The code uses
The code uses
DEF PROCtemplate_load(name$, buffer%, size%, fonts%)
LOCAL templ_size%, indir_size%, workspace%
-$TemplateName% = LEFT$(name$ + STRING$(12, CHR$(13)), 12)
+$TemplateName% = LEFT$(name$, 11)
REM Find the size required for the template and indirected data.
diff --git a/Chapters/ch04-column-headings.xml b/Chapters/ch04-column-headings.xml
index a0556b7..568615f 100644
--- a/Chapters/ch04-column-headings.xml
+++ b/Chapters/ch04-column-headings.xml
@@ -70,7 +70,7 @@
REM Load the window templates
-DIM TemplateName% 12
+DIM TemplateName% 11
SYS "Wimp_OpenTemplate",,"<PaneDemo$Dir>.Templates"
diff --git a/Downloads/Chapter01/ExampleApp/!PaneDemo/!RunImage,ffb b/Downloads/Chapter01/ExampleApp/!PaneDemo/!RunImage,ffb
index ef386fe..ee13f39 100644
Binary files a/Downloads/Chapter01/ExampleApp/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter01/ExampleApp/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter02/SideBox1/!PaneDemo/!RunImage,ffb b/Downloads/Chapter02/SideBox1/!PaneDemo/!RunImage,ffb
index 1a3c526..74fbbd3 100644
Binary files a/Downloads/Chapter02/SideBox1/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter02/SideBox1/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter02/SideBox2/!PaneDemo/!RunImage,ffb b/Downloads/Chapter02/SideBox2/!PaneDemo/!RunImage,ffb
index 2aaa94c..fa093fa 100644
Binary files a/Downloads/Chapter02/SideBox2/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter02/SideBox2/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter02/SideBox3/!PaneDemo/!RunImage,ffb b/Downloads/Chapter02/SideBox3/!PaneDemo/!RunImage,ffb
index 497b512..38330f3 100644
Binary files a/Downloads/Chapter02/SideBox3/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter02/SideBox3/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter03/TopBar1/!PaneDemo/!RunImage,ffb b/Downloads/Chapter03/TopBar1/!PaneDemo/!RunImage,ffb
index f41e7c6..86c5c0e 100644
Binary files a/Downloads/Chapter03/TopBar1/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter03/TopBar1/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter03/TopBar2/!PaneDemo/!RunImage,ffb b/Downloads/Chapter03/TopBar2/!PaneDemo/!RunImage,ffb
index d31f83f..2784572 100644
Binary files a/Downloads/Chapter03/TopBar2/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter03/TopBar2/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter03/TopBar3/!PaneDemo/!RunImage,ffb b/Downloads/Chapter03/TopBar3/!PaneDemo/!RunImage,ffb
index b30cb02..44fcfc2 100644
Binary files a/Downloads/Chapter03/TopBar3/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter03/TopBar3/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter03/TopBar4/!PaneDemo/!RunImage,ffb b/Downloads/Chapter03/TopBar4/!PaneDemo/!RunImage,ffb
index 2c651bb..8f2f02a 100644
Binary files a/Downloads/Chapter03/TopBar4/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter03/TopBar4/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter04/ColHead1/!PaneDemo/!RunImage,ffb b/Downloads/Chapter04/ColHead1/!PaneDemo/!RunImage,ffb
index b0c02a6..e8695ca 100644
Binary files a/Downloads/Chapter04/ColHead1/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter04/ColHead1/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter04/ColHead2/!PaneDemo/!RunImage,ffb b/Downloads/Chapter04/ColHead2/!PaneDemo/!RunImage,ffb
index 19fd617..0b45604 100644
Binary files a/Downloads/Chapter04/ColHead2/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter04/ColHead2/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter05/ColHead3/!PaneDemo/!RunImage,ffb b/Downloads/Chapter05/ColHead3/!PaneDemo/!RunImage,ffb
index 4818437..7bcf801 100644
Binary files a/Downloads/Chapter05/ColHead3/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter05/ColHead3/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter05/ColHead4/!PaneDemo/!RunImage,ffb b/Downloads/Chapter05/ColHead4/!PaneDemo/!RunImage,ffb
index f046cbd..bea96cf 100644
Binary files a/Downloads/Chapter05/ColHead4/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter05/ColHead4/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter06/NestedFixed/!PaneDemo/!RunImage,ffb b/Downloads/Chapter06/NestedFixed/!PaneDemo/!RunImage,ffb
index b06886d..0c371bd 100644
Binary files a/Downloads/Chapter06/NestedFixed/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter06/NestedFixed/!PaneDemo/!RunImage,ffb differ
diff --git a/Downloads/Chapter06/NestedScroll/!PaneDemo/!RunImage,ffb b/Downloads/Chapter06/NestedScroll/!PaneDemo/!RunImage,ffb
index 14faaa6..33f5cca 100644
Binary files a/Downloads/Chapter06/NestedScroll/!PaneDemo/!RunImage,ffb and b/Downloads/Chapter06/NestedScroll/!PaneDemo/!RunImage,ffb differ