Added handling for empty pid file. Previously empty pid caused call to kill() to die immediately. Now does same as stale pid with minor variation in warnings shown.