Revert "wip notion of local vs global vars"

This reverts commit 62231e6402a21761cebc0bbefb96b1b1c7561d26.