Finish materials pages and add error handling, closes #2