modified error handling in shader manager class when adding/getting shaders