Do not attempt capture unless class is valid
Don't use OutputDebugString unless in a debug build
Stop capture thread in DLL_PROCESS_DETACH
Fixed issue with windows not being found when using hotkey capture. Also fixed instant hooking of default window when calling BeginScene when using hotkey capture.
Merge pull request #357 from Bl00drav3n/master

Fixed issue with windows not being found when using hotkey capture. Also...
Merge pull request #356 from actboy168/fix-crash

Stop capture thread in DLL_PROCESS_DETACH
Revert "Disable scene collections"

This reverts commit 92e407c5a42e8a4b459093447f1eb366b3702fa9.
Keep Global Sources in scenes.xconfig

Instead of each Scene Collection having its own Global Sources.
Global Sources will be stored in scenes.xconfig.

One set of Global Sources usable in all Scene Collections. Backwards
Compatible