Added materials view, and more work on selectedSchematic