We're setting the language correctly for the espeak voice synth.
Refactored random number generation.