New MaterialManager and updates in MultiLayer. Problem in LayerInterface exists (screwed pointers to layers).