Add some comments and speedups to the card dealing