fixed bug with missing 'upload materials' button, materials tab moved to separate file