Fixed speech parsing

Now trimming speeches
Checking for repeated speeches
Renamed function
Added a "player"
Trying to optimize the performance

Put some variables as global.
Organized functions