Some sludge and stuff at the bottom of a pond is fine. Regarding the edge, if you have any planted matter, some of this will inevitably end up in the bottom of your pond - that's natures way and eventually the water will balance out naturally.