I've attached a small project to illustrate this point...

Lua variables should be "space trimmed" before processing.

"gbAPIReboot" is not the same as "gbAPIReboot "

And since it doesn't stare out at you when looking at the gui, it drove me nuts for a long time....

There is only one screen in it; with code in only the "On Next" -- compile & run.