begun implementation of opengl for mainmenufrme class