Begining rewrite in C and SDL2.