Integration of SDL2 for backend and hook for ipython event loop integration