Fixed compile errors, and made it save fuel+progress