Minor debugging to new stats function; update to plugin_slider re. pagination