more resizing fixes from scrawl, share an SDLWindow between the input wrapper and the engine