Revert the changes that TLS'd the API.

It turned out to be too unsafe. I could not prevent NULL target bitmaps, drawing to the same bitmap from multiple threads, destroying bitmaps to work well.
Forgot to remove the target bitmap clearing in the bitmap destruction
Move bitmap creation logic into the bitmap module
clone_bitmap does not need to set the target
Rename and fix clone_convert
Move the color creation stuff into the color module
Move the timer creation into the timer module
Move the event queue creation into the events module
Remove the now unnecessary multiple-item macro workabout