ivar2: make global variables into local
core: Allow spaces when chaining commands.