refactored restoration logic to be simpler. running a corrupt stack on tests on escape longjmp back into context. need to check stack dependency issues