Fixed text and memory leaks
New glhck, added texture and parent properties