Lots of minor changes here and there. Also added new functionality to ShaderProgram to simplify loading and setting of uniforms and attributes. Added a Rand class.