Move gpu vendor detection to native with the rest of the gl init.

Also disable vertical layout for mainscreen entirely.
Initially center on the primary monitor.
Don't flash open the console when disabled.
Fix a crash in debug mode with no threads.
Fix drag and drop file start.

Wasn't working when nothing was running yet, had race issues otherwise.
The boot message already handles shutdown.
Pass arguments to root threads same as regular.

Before it would have issues or crash if the args were > 256 bytes.
Fixes Ys 1 & 2 Chronicles.
Merge pull request #4209 from unknownbrackets/root-thread

Pass arguments to root threads same way as regular threads
Merge pull request #4208 from unknownbrackets/ui-tweaks

Avoid flashing the console window on startup
Switch back to the older NDK toolchain for the release.

Let's investigate the 2.2 compat issues later.
Correctly update lang
Fix keyboard focus issue on Windows
Fix too-slow fade in/out of save dialogs and others in 30hz games.
made atomic lock optional

fixed an incorrect merge to nativeApp.cpp

made atomic locks init correctly

reintroduced atomic locks in audio as an optional setting

converted global pointers to global objects on stack

moved all mixing code into PSPMixer

internaized all code into __sceAudio.cpp

cleaned up rebase

cleaned up rebase
Combine two error messages down into one, make it translatable, and fix some grammatical issues in comments.
Add default error message and title.
Use a more robust string check.
Merge pull request #4213 from thedax/win32OpenGLError

Win32: Combine two errors into one, and make it translatable.
Merge pull request #4206 from bollu/AudioArtefactFix

optional atomic audio locks
Cosmetic fix to gamescreen
Jit: Fix valgrind warnings.

The first time PrefixStart was entered with startDefaultPrefix = true, it would
call EatPrefix, which checks the so far entirely uninitialized prefixXFlags.