Format all changed code with astyle script.
Remove debug output.
Minimize the occurence of #ifdef WITH_OPENGL.