control of slag defects and insoluble buildup in melting