fix NullPointerException when the user tries to display the camera settings without a camera present.

Signed-off-by: Peter Wendorff <peter.wendorff@gmx.de>
replace the GLPbuffer by GLOffscreenAutoDrawable, as GLPbuffer is deprecated.
removed unused imports

Signed-off-by: Peter Wendorff <peter.wendorff@gmx.de>