+ fgets error checking fixed on empty perfhandler output