Cleaning up debug prints
Make material a notifying property