Added comments to the code and disabled selection in the material table.