Add locking to SDL calls. This is enough to get games rendering.