Loving this game but I wanted to suggest a tiny change which I made to the version I downloaded: at the top, when initializing wincount, use pmem(0). Then, in the victory recognition block, change wincount = wincount+1 to pmem(0,omen(0)+1)
This lets the wincount be persistent across sessions.