fix typos
get rid of the while true loop around the pexpect expect statement

this was necessary in early omxplayer versions, which printed
thousands of stats lines per second on stdout and thus filled
some kind of buffer or something if the messages were not eagerly
consumed.
optimize sync window