Fixed database (player piles) issues that resulted in random and
duplicate money being assigned, especially with new players.
Fixed many other bugs.