moved memory deallocations from destructors to  functions
added ttf_dumper; refined code