Restore the stack on poplevel (REF-325)
Clean up newed variables during last unfinished debug session (REF-325)