Initial cut at an SDL conversion.