Controlling or regulating processes or operations for removing cast stock {responsive to molten metal level or slag level by using optical means}