Cleaned up SDL code.
Cleaned up SDL code.

tn0502/rainbow,tn0502/rainbow,tn0502/rainbow,tn0502/rainbow,pandaforks/tido-rainbow,pandaforks/tido-rainbow,tn0502/rainbow,pandaforks/tido-rainbow,pandaforks/tido-rainbow,tn0502/rainbow,pandaforks/tido-rainbow