Preserve default scenes.xconfig for compatibility with older versions
When debugging, output log data to debug window
Fix game capture hotkey and LoL capturing

This fixes league of legends capturing issues where people would get a
black screen with game capture with it:  What happened is that riot must
have changed the window class for the hidden patcher window to have the
same window class as the in-game window, so when you exit your game, it
would try to capture the hidden patcher window and it would get stuck on
it.  Solution was to make it so only visible windows were captured.

Secondly, this improves the game capture hotkey feature.  Game capture
hotkey will now always 'stick' to the last window you captured, and save
it to config.  Only until the hotkey is hit again will it try to capture
a different window.

Windows that are not visible will no longer be used as capture targets.
I'm guessing that this may have been the cause of a number of prior
issues.
Add improved game capture logging when debugging
Disable scene collections

We've decided not to release scene collections.  It caused some backward
compatibility issues, as well as some ease-of-use concerns.  We just
don't feel comfortable with it so we're just going to go with the
import/export style that will be implemented in OBS2.
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
Implement scene collections in menu only

This hopefully resolves some conflicting opinions about how scene
collections should be handled, and removes it from the general settings
panel, where it felt a bit cluttered.

Actually, I would kind of like it if profiles were handled this way too.
This feels a lot cleaner than how profiles are handled in the general
settings.  The profiles thing in the general settings definitely feels
clunky.

In the main menu, the scene collections menu now has the following menu
items:

- New
- Duplicate
- Rename
- Remove
- Import
- Export

Duplicate was something I personally added - I felt like it might be a
nice thing to have for the sake of convenience.  Import/Export was
requested by dodgepong, and is also definitely nice to have.  Due to how
easy new scene collections are to set up it didn't take very long to put
in.
Merge pull request #358 from jp9000/scene-collection-menu

Implement scene collections in menu only
Fix startup issues with scene collections

If a scene collection wasn't found at startup, it would create a
'(null)' scene due to a null pointer.

Also, moved scene collections to the scene collections folder rather
than the base folder to prevent conflicts with the older scenes.xconfig
file.
Copy scene collection to scenes.xconfig

This allows better backward compatibility with older versions.  This
will keep the current scene collection set to default if the user ever
decides to downgrade OBS versions for whatever reason.
Fix deadlock if encoder never received a picture
Prevent and warn about excessive audio buffering
Fix audio thread deadlock and issues with PTT / mute
Use FindWindow for DWM monitor capture

Because the DWM window is an invisible window, the recent change using
FindVisibleWindow instead of FindWindow will cause it to never find the
DWM window.  So, detect if the target is the DWM, and then use regular
FindWindow instead if so.
Fix scene collection loading at startup
Update to 0.63b test build 1