Sunlight that close to a tank could still cause it though? My parents had a tank that had crazy algae problems and it was right about where your tank was in relation to the window. Good luck though, glad it's clearing up!