Revert "Conversion to SDL2 stuff"

This reverts commit 3532fd24e155bbc9ecdbe30c22a46d4922e32252.