Fix logic surrounding 'pending'.
Merge branch 'persist-game' into gh-pages