Some fixes and XML serialization

In this update I fixed saving of accounts when player left game and also
used new method of saving configuration, and that is XML serialization.
Enjoy