Init ImGui after our GLContext object has been initialized and check the context type to specify the proper GLSL version. Also make sure we are not in GLES mode before setuping ImGui.