code formatting whitespace changes
remove commented debugging code
initial opengl support