Fixed PANELS ON and GEAR ON And AG1 ON.

The problem was that the ON and OFF commands didn't treat the
identifier like a varible and therefore produced code like this:

push panels
push true
store

when it is supposed to do this:

push $panels
push true
store

NOTE this also includes the debugging function 

DEBUGGLOBALVARS().

Which I added to help find the problem, but it's useful to leave around.