improve the SDL interface, especially regarding animated sprites