Cleaned up the stat code a bit. Also fixed a major bug about hot.
DRYed up some code.