Current parser is not tracking what happens inside of function so it does not update Global pane when global vars are changed within function. Thanks @jed 