If the producer also invests their own money, can that be repaid before the IPFs investment?

 In

No, any revenue is distributed on a pro rata basis to all equity investors at the same time.