Changed random behaviour from randomizing a preset array to creating an array of random elements.  Fixed a race condition in the opengl test.
Noticed I accidently deleted the Makefile in a previous commit... Readded.