added check if getGL() delivers null
Merge branch 'master' of https://github.com/otting/JOGL