Hello,
I don't know if you had this type of problem, but I hate to repeat to print an object only because I had a electric blackout. To solve this problem you can save in the Rom the number of line of model Gcode and decrement it in the printing phase. In order to tell to the system that the object is not printed yet, for blackout or for power cord accidental removing, I think you can implement a one bit variable, a flag, checked by the system in the startup operations. If the flag is one the system read the actual Gcode line number and continue to print from it else, if the flag is zero, the system display the main menu as usual.