To avoid algae overrunning the tank I use a nightlight in the room. This provides enough light for the parents to see their offspring yet doesn't lead to an outbreak of algae. Kind of follows the same principle as Dan mentioned.