gl sharing

Added gl sharing for osx win and lin.  Linux untested.  Windows
requires editor and players to use -forece-opengl flag for now.