almost working; opengl seg fault