One can now assign and reference variables in the main scope, as it has been put in a block through the parser. Also added some tests for this purpose.
Can't have spaces for some reason. Not a real fix.
Will fix later I guess.