added idgen, sdl mini engine and sdl sprite cache helpers