fixed indentation mix, removed some unused code, updated different callback using the example_opengl code.