Fixes for orphaned processes and clobbered paths