SDL2: Reimplement some stubbed commands

Also remove some unnecessary functions.