Added GL context convenience wrapper. Not really useful for OS X.