Fixed the failure of the player to reinitialize

The player would not reinitialize after having played the first movie.
Now it does.
Convert to new-style API and consistently use unicode
Only get key from KEYDOWN events in event handler
Merge remote-tracking branch 'origin/master'