Merge pull request #39 from Earth4/master

Fixed errors
fixed up some problems with endless loop in game.
in-progress update of gktool.
Should work now, pushes an element to get the array length and pops it back off.