Global variables accidentally created in basic demo

I came across a syntax error in the downloaded version. Looks like it's been fixed in the repo, but not quite in the correct way.