Don't process threadsafe events from HLE.

Only from the runloop where blowing the jit cache is safe.
Merge pull request #762 from unknownbrackets/savestates

Don't process threadsafe events from HLE.
Enable color and depth buffer write before clearing.
Merge remote-tracking branch 'upstream/master' into fps2

Conflicts:
	native