That gunk is just a buildup of dissolved organics that are solidifying, such as fish poo, excess food that decayed and dissolved into the water, etc. Another sign that PWC's may need to be made more often, or not gravel vac'ing enough. How old is the tank and what's your maintenance schedule?