Add pprof debugging + flag
Fix command filter
Return error via pipe in goroutines