Made opengl and an alternate display optional.