That being said, some algae will always be there and is a sign of a mature tank, if it's excessive then reduce lighting, reduce feedings, increase water changes, add plants. or terrestrial plants at the top, basically reduce the algae's food source which is light and waste products, or add things that compete with it- plants or algae eating animals like snails or certain fish. The brwon stuff might be cyano, I'm not too familiar with it but i think its a common phase of a semi new tank and takes some time to come and go despite all the work you can do to remove it.