Added status and proper exit codes for running or not running processes.