Stuff

game state explodes when leaving a state that has previously been left.
Added a file write on sending and receiving. Wasn't exactly sure how
much of Jeffjeff's stuff that wasn't included was or was not necessary.
Started out fine, then for some reason started crashing, but now I can't
replicated the crash.