Fix bugs and add features

Speed up mplayer
Fix display bug
Add gop and bitrate target parameters