Topic/morepatches 20130418

A few more small fixes...
- set $USER in all cases
- fix error when $self->program_args is undefined
- create the pid dir before creating the pid_file, if the dir doesn't exist yet

\o/