ruby-compilation: clean up orphan procs, filter output more efficiently