Added main setup for OpenGL drawing and a triangle on the screen.