More stat stuff.
More work on stats. Currently crashes.
More stat work. Fixed crashes. Needs client syncing.