added error checking; loop around place_bet on error; fixed case