things i have learned:
1. calling SDL_UpdateRect per-pixel is so much better than SDL_Flip every frame
2. 0xFF is longer than 255
3. having a square window saves bytes just because you dont need seperate w,h variables
4. arrays suck use really long numbers containing all of your values and iterate them with bitwise operators
also: bitwise operators are really, *really* fast