Task api, consoldated library state. renderer working
force sdl to collect input in the render thread