Improved spawn detection of ended and paused processes.
Fixed a segfault in cmdlifo.
Fixed a bug in cmdlifo.