Collection of fixes (Mainly fixes for windows)

Dear Joker developers,

First, thank you for creating Joker and making its source available on GitHub. It's a very interesting project!

Here you will find a pull request that:
- fixes issues related to Windows,
- fixes display issues (filtering of the video and deinterlace settings)
- fixes LTC syncing (problably related to runtime behaviour of PortAudio on Windows)

These commits all look straightforward to me. (I have a couple of other commits that may need a little bit more attention, related to timecode issues and OpenGL optimizations, but I will only submit them later if this first round is satisfying to you).

Please do not hesitate to ask for détails on these commits, and be sure that I would be happy to see this pull request accepted !

Best regards,

Timothée

Ok. I chose to add testlib to all project files where PhTools.h was included, to be sure not to break anything. Do you want me to remove testlib where it is not needed ?