Moved a code segment and added more information if the GL version is not valid. Also added a required GL version to the manifest