fixed broken chrome trace-view dump function
removed some dead-code