Adding some SDL2 support for visual debugging