Renamed isMaster to isLeader to avoid confusion with cluster master. Added process.pid to node info.