Yes, in training sessions the fuel consumption per lap is estimated and so the driver knows when he must pit and how much fuel he must have filled in.
Safety margins are automatically calculated depending on the fuel consumption per lap. If the fuel is not enough for 2 more laps, the driver will pit.
Cars will have a maximum fuel amount (tank size) and you can specify how often and when you want to pit. The required fuel is calculated automatically then. If you would need more fuel than fits in the tank the driver will make an unplanned pit stop.
Yes, if the driver is pitting withing x% race time/laps (can be set by you) before a planned pit stop, the planned pit stop is cancelled.
Yes, currently set to 60 kph. The driver almost follows that limit (mostly driving 63), some tweaking is needed.
Yes, randomly calculated at the start of the race/weekend.
Should be possible, but I have not tried that out yet.
Possible, but it still is unfair to let a car start which is not built according to the rules. I prefer DQs.