changed shaders to glsl #version 330 and removed the attribute m_light which wasn't constructed or used hence causing a crash as was deleted in dtor