I fixed a bunch of stats issues and probably an issue with the character background
not being saved (it's not really used yet anyhow.)

There are also fixes to the character logging in here.