Small changes in Running.pid creation and in logging