Fixeed glitch again.  added a couple more comments.  able to win now, and there is an endless mode after you win.