Changed exec back towards execl.
Added wait-termination fix from the RR and fixed a few comments.