sdl_wrapper implemented
some temporary fixes for sdl_wrapper