changed batter to calculate risk before attempting a shot
ui now runs a simulation with visual display; at the cost of debug_simulation is now broken