Also fix an issue with parsing IF command. This commit makes the game completable (with many issues).