Fixing some bugs, now application closed after message, when video file or Mplayer crashed