add missing SDL_DestroyWindow call to window_destroy
add renderer creation and destruction support via SDL2