Improved material type functionality (plurals/default).
Removed unnecessary variable.
Merge branch 'master' into dimenovels.org