Automatically close the game when everybody has voted on all requirements

Also fix some other bugs that broke it.