Make the Channel ID consistantly of Type Channel ID
Removed warnings (mainly unused variables)

A few unused variables and one function with no side affect, either
removed or commented out.

Some of the changes (marked #TODO) should be reviewed to make sure
there are no unindented side affect. Limited testing done

NB There are now deprecation errors because of OS X.9 (Mavericks)

Graphs/gGraphView.cpp:2942:5: warning: 'gluPerspective' is deprecated: first deprecated in OS X 10.9 - "Use GLKMatrix4MakePerspective" [-Wdeprecated-declarations]
    gluPerspective(45.0f,(GLfloat)w/(GLfloat)h,0.1f,100.0f);
    ^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:278:13: note: 'gluPerspective' declared here
extern void gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakePerspective");
            ^
1 warning generated.