WinGui: Don't grab previews when the preview window hasn't been opened.  (Note, there is still a crash that sometimes happens for some resolutions that needs fixed, but the UI shouldn't crash anymore if the window hasn't been opened)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6205 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix overwriting of source path


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6206 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: Fix decoding avi with palette

... and probably other formats that use a palette.
The palette is stored in AVPacket side data which we did not read.  So
read the side data and stash it in hb_buffer_t so that it can be used
later by the decoder.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6207 b64f7644-9d1e-0410-96f1-a4d463321fa5