Fixed whitespace
Fixed crash if SDL_GetThreadName() is passed a NULL thread.
Mac: Don't enable SDL_MAC_NO_SANDBOX by default.

To get this functionality, you need to use -DSDL_MAC_NO_SANDBOX=1 in
your CFLAGS.
Send the SDL_QUIT when last window is destroyed, not during its close event.

--HG--
extra : rebase_source : 1a30ff486e98282c7d6a05d64eea0c4f3e026c41