Just algae is nothing to be too concerned over- the green kind- keep the fittings clear and unclogged, but it's not a huge deal.
Brown res gunk needs to be manually removed. Make sure your pump has a good filter, clean the filter weekly or more, and even put the WHOLE PUMP inside a filter bag. Remove chunks of res goo with a fish tank skimmer or small strainer and discard.