CLApp now stores the pid within the lock file;  refactored FileX to make working with file contents and locks easier and less likely to leak