Changed all source files

Modified source files to, optionally, not depend on SDL.
The code still needs a working threading model in the case where SDL
support is compiled out, as of now a window is shown, but there is no
method to transfer the pixels onto the screen.