more improvements, introduce RefgraphController
attempt at demangling on host. currently fails because GCC's demangle func insists on calling realloc.
move demangling to the host side, work around GCC demangler stupidity, use proper allocator in map to avoid creating instrumented blocks