loader: Check listen return value.
loader: Replace exit() call with return in main().
loader: make pid const.
loader: whitespaces cleanup.
loader: Added execl return code check.