simple-restart: Changed to use local Bash variables.
simple-restart: Rewrote findprocess() to use pgrep for more reliable results.
simple-restart: Changed stop() to wait for (and kill) all matching processes.