fixed memory leaks and added label change control for growcut section