Got most stuff working still trying to port from Java based GLES to C based.