Might I suggest making the sidebar data variables accessible globally. I can see this causing a ot of headaches as many sites so have a sidebar on all pages. I even tried doing some form of condition saying "if we're on the homepage, include the stats sidebar. Otherwise, continue" but I've found out the template system has no options for this (which is something else that is going to cause problems).
So this is kind of a double feature suggestion:
1 - Make sidebar-stats global
2 - Allow conditional if statements to pick up the name of the current page so we can do something like:
<xen:if condition="THIS_PAGE == 'forum_list'"> -- INCLUDE STUFF -- </xen:if>
I've had an open development discussion about it with Lawrence here if interested: Cant show stats on sidebar of all pages - so can we use an IF to set which pages its on?