Fixed some big bugs with processutils