added pid to log prefix
simplified einhorn integration with a dependency