#Make material profile always visible, 
and I modify some code written by CY <3