I give up. :D
The best I can accomplish (without making the first move change) is this.
After making the changes described in jlou's post to fix the first move bug, I get this.Code:
So unless we've got secret unranked participants in this contest, I think jlou has won. :pCode: