Fixed saving character sheets to file.
Character sheets now work by iterated map, can have multiple characters with the same name.
Added shutdown listeners for cleanup. Things should be less prone to zombify.
Also fixed some memory management issues. Should run with less ram now.