Start of new action parser. Rename 'window.foo' -> global.foo' everywhere