At a Polish coal mine, researchers are developing a new environmentally safe way to treat wastewater.