fix: global&local variables could not be accessed via RainerScript

also, global variable pool did receive extra variables that did not
belong to global pool (problem in last milestone commit)