Remove unbound variable warnings

Remove unbound variable warnings that were resolved at runtime
I dont think this can be combined any further, the order cannot be changed. there are only 3 functions:
  ResetForDeltaExecution();
            CompileAndExecute(dispatchASTList);
            PostExecution();

 and CompileAndExecute takes in diffrent args