Log when doing a TerminateThread
Flush encoder before exiting video processing loop
Major netcode refactoring (needs lots of testing!):
Shutdown is now orderly, triggered via ~RTMPPublisher
All pending frames / buffered data are properly sent before closing
Network loop processing improved to avoid late FD_READ events
Downside, 'Stop Stream' now takes a few seconds longer
Secondary hook check after D3D startup to catch ASUS OSD and other UMD hooks.