The Greens comes back from the brink.