Overloaded resizeGL to set up projection and added logarithmic slider.