Scott Brown has thanked Neil Lennon for turning his Celtic fortunes around and keeping him at Parkhead.