add sdl_window interface

-also fixed bug in svector