little fixes to openGL setup
jni.cpp, some warnings removed
fix