added minor support for if, else, end and setVar on the editor.
also a really simple example on the existing game.