Further improved layout and fixed betting and payout bugs.