Fixed warnings.

Hi, 

sorry I totally forgot about the changes.
I hope I can do something more useful for Ashton in the future than just fixing trivial warnings... 
But it's hard to understand the code if you have no knowledge of OpenGL/3D programming. :(
 

That's it!