got save recovery mostly working. Few bugs still but brain hurts too much to continue