fix not writing bytes_read
changed printing into debugs
added primitive callgraph