Removed most of the semaphores.

OD is now threadless, except for AngelScript and the LogManager.