Toggle option "Disable Stencil Test" & "Always Depth Write"
Change item-name to "Hack Settings"
Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db
Merge pull request #3701 from shenweip/master

Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db
Merge pull request #3646 from raven02/patch-17

Toggle option "Disable Stencil Test" & "Always Depth Write"
Keep a single list of pending callbacks.

Doing it per type only meant that we'd incorrectly call a callback twice
if it was notified by e.g. scePowerRegisterCallback() and
sceKernelNotifyThread(), which isn't what's supposed to happen.
Decentralize callback registration.

Callbacks are always tied to THEIR thread, and the registration was all
based on the current thread which is just not the right way.
Clean up umd bad callback id errors, oops.
Run callbacks in creation order, not notify order.
Delete callbacks when their thread is deleted.
Refactor waiting thread cleanup.
Refactor waiting thread removal.