fix
Update to new APIs.
Some fixes.
Complete threading management.
Fix 'Add video source' dialog.
Remeber to initiate X11 thread.