Fixed some of the stats issues.

Still need to make the stats stuff a little cleaner.