[Code] Finished top part of do_charsheet.