diff --git a/stats.sty b/stats.sty
index 3f7681973917570a8e35522b664e29f68195e701..2f3efa469c23ca567c9f85622c6617e7846f39f5 100644
--- a/stats.sty
+++ b/stats.sty
@@ -162,6 +162,7 @@
       \boxStat{mp}
       \\
       }
+      \\
     \end{tabular}
   \else
     \begin{tabular}{r}
@@ -728,7 +729,7 @@
     \par%
     \showBoxes%
   }%
-  \iftoggle{allyCharacter}{}{
+  \iftoggle{allyCharacter}{}{%
     \iftoggle{examplecharacter}{}{%
       \calculateXP%
       \outline{\glsentrytext{cr}: \showCR}%
@@ -751,9 +752,9 @@
   \multiply\value{attackXPtotal} by \value{damage}%
   \addtocounter{Speed}{-\value{heft}}%
   \ifnum\value{Speed}>\value{mp}%
-    \setcounter{enc}{\value{Speed}}
+    \setcounter{enc}{\value{Speed}}%
   \else%
-    \setcounter{enc}{\value{mp}}
+    \setcounter{enc}{\value{mp}}%
   \fi%
     \multiply\value{enc} by\value{enc}%
     \addtocounter{attackXPtotal}{\value{enc}}%
@@ -761,10 +762,10 @@
     %%% = (att - 7 + dr) x hp
     \ifnum\value{att}>7%
       \setcounter{defenceXPtotal}{\value{att}}%
-      \addtocounter{defenceXPtotal}{-7}
-    \else
-      \setcounter{defenceXPtotal}{0}
-    \fi
+      \addtocounter{defenceXPtotal}{-7}%
+    \else%
+      \setcounter{defenceXPtotal}{0}%
+    \fi%
     \addtocounter{defenceXPtotal}{\value{dr}}%
     \multiply\value{defenceXPtotal} by\value{hp}\addtocounter{defenceXPtotal}{0}%
 
@@ -772,15 +773,15 @@
     \setcounter{xp}{\value{attackXPtotal}}%
     \addtocounter{xp}{\value{defenceXPtotal}}%
 
-  \iftoggle{debug}{str: \arabic{Strength}, dex: \arabic{Dexterity}, spd: \arabic{Speed}, att: \arabic{att}, damage: \arabic{damage}, weight: \arabic{weight}, encumbrance: \arabic{encumbrance}, XP Bonus: \arabic{xpbonus}, Attack total: \arabic{attackXPtotal}, Def Total: \arabic{defenceXPtotal}, mp: \arabic{mp} Grand Total: \arabic{xp}}{\iftoggle{verbose}{\hrulefill}}
+  \iftoggle{debug}{str: \arabic{Strength}, dex: \arabic{Dexterity}, spd: \arabic{Speed}, att: \arabic{att}, damage: \arabic{damage}, weight: \arabic{weight}, encumbrance: \arabic{encumbrance}, XP Bonus: \arabic{xpbonus}, Attack total: \arabic{attackXPtotal}, Def Total: \arabic{defenceXPtotal}, mp: \arabic{mp} Grand Total: \arabic{xp}}{\iftoggle{verbose}{\hrulefill}}%
     
   \iftoggle{examplecharacter}%
   {}%
-  {
+  {%
     \ifnumcomp{\value{xp}}{<}{73}%
       {\ifnumcomp{\value{xp}}{<}{40}%
         {\renewcommand\showCR{\arabic{xpbonus}}}{\renewcommand\showCR{$\frac{1}{2}$}}}%
-        {
+        {%
             \addtocounter{xp}{-60}%
             \divide\value{xp} by 13%
             \addtocounter{xp}{\value{xpbonus}}%
@@ -794,9 +795,9 @@
       \iftoggle{genExamples}%
         {}%
         {\space\Repeat{\value{fp}}{\Square}}%
-    \par
-    \fi
-  }
+    \par%
+    \fi%
+  }%
 }
 
 \newcommand\swarm[6][]%