Text this: Thermodynamic characterization of solidification and defects that occur in Mg-alloy AM60