Most functions, classes, methods etc switched to using SDL_wtfever functions for threads, mutex and others. Some stuff deleted as superfluous.
Tested and still working far as I can see.