Maybe something got left out, but when I tried to paste the text you wrote in your post into the Applet, I got a diagram with just 8 files (still 10 ranks), with some pieces for both armies missing. I didn't have that problem when I pasted (all of - I assumed even the first line and the [div] lines might be needed) Haru's text into the Applet, after I removed the blank lines there. The diagram was correct after that (minor) effort.
@ H.G.:
Maybe something got left out, but when I tried to paste the text you wrote in your post into the Applet, I got a diagram with just 8 files (still 10 ranks), with some pieces for both armies missing. I didn't have that problem when I pasted (all of - I assumed even the first line and the [div] lines might be needed) Haru's text into the Applet, after I removed the blank lines there. The diagram was correct after that (minor) effort.