Updated support for SDL, separate event from poll mode