Fixed string format bug and %d bug
Fixed string format bug and %d bug

pfunc was being called with a raw string - string format hole
if all lines were deleted, memory went crazy

bobrippling/uvi,bobrippling/uvi